diff options
Diffstat (limited to 'buildscripts/phing/tasks')
-rw-r--r-- | buildscripts/phing/tasks/PradoPackageTask.php | 3 |
1 files changed, 3 insertions, 0 deletions
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);
|