diff options
author | wei <> | 2007-05-09 02:51:02 +0000 |
---|---|---|
committer | wei <> | 2007-05-09 02:51:02 +0000 |
commit | e2614a35a70f609bccc1d65df6f1b92ff1fef5ef (patch) | |
tree | e50ba7375212d2275cc2d866d220adca254eadf1 /buildscripts | |
parent | 733cc375da74f9bf0fd3d71989bb20d503dbbb7b (diff) |
Add compact db demo, add THtmlArea::EnableCompression, add ClientSide options for TColorPicker
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/phing/tasks/PradoPackageTask.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/buildscripts/phing/tasks/PradoPackageTask.php b/buildscripts/phing/tasks/PradoPackageTask.php index 8784bb77..e54a4093 100644 --- a/buildscripts/phing/tasks/PradoPackageTask.php +++ b/buildscripts/phing/tasks/PradoPackageTask.php @@ -1,5 +1,4 @@ -<?php -
+<?php
require_once 'phing/Task.php';
/**
@@ -55,7 +54,7 @@ class PradoPackageTask extends Task function processPhp($content,$files)
{
$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 = 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);
|