From 4a2ebb333d239b58c19d09ee88646fa0e32e71ed Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 16 Apr 2007 02:02:27 +0000 Subject: Updates to db stuff, removed js build from build.xml (no longer necessary) --- buildscripts/phing/tasks/PradoPackageTask.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buildscripts/phing') diff --git a/buildscripts/phing/tasks/PradoPackageTask.php b/buildscripts/phing/tasks/PradoPackageTask.php index fefeb1e0..8784bb77 100644 --- a/buildscripts/phing/tasks/PradoPackageTask.php +++ b/buildscripts/phing/tasks/PradoPackageTask.php @@ -57,6 +57,9 @@ class PradoPackageTask extends Task $content = preg_replace('/^\s*Prado::trace.*\s*;\s*$/mu','',$content); $content = preg_replace('/(PradoBase::using|Prado::using|require_once|include_once)\s*\(.*?\);/mu','',$content); $content = str_replace('Prado::', 'PradoBase::', $content); + $content = str_replace('PradoBase::getApplication()->getMode()', 'true', $content); + $content = str_replace('TApplicationMode::Debug', 'true', $content); + $content = str_replace('/Exceptions/messages', '/messages', $content); if($this->strip) $content=$this->strip_comments($content); $content=$this->strip_empty_lines($content); -- cgit v1.2.3