diff options
author | xue <> | 2006-01-18 02:43:31 +0000 |
---|---|---|
committer | xue <> | 2006-01-18 02:43:31 +0000 |
commit | 57b6793551d29bad2b3b89f9a3f77a11682ccb48 (patch) | |
tree | 61d1267221c5a605a02aef38ea9bc8b5d483729a /tools/phpbuilder/build.php | |
parent | 54900d0145dfda07bde40dc6e1f0b31935b55444 (diff) |
Updated phpbuilder and the file list. Added pradolite.php.
Diffstat (limited to 'tools/phpbuilder/build.php')
-rw-r--r-- | tools/phpbuilder/build.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/phpbuilder/build.php b/tools/phpbuilder/build.php index 24626b85..6df74923 100644 --- a/tools/phpbuilder/build.php +++ b/tools/phpbuilder/build.php @@ -38,7 +38,7 @@ $lines=file(SCRIPT_FILES); foreach($lines as $line)
{
$line=trim($line);
- if($line==='')
+ if($line==='' || $line[0]==='#')
continue;
echo 'adding '.FRAMEWORK_DIR.'/'.$line."\n";
$input=file_get_contents(FRAMEWORK_DIR.'/'.$line);
@@ -50,7 +50,7 @@ foreach($lines as $line) $input=preg_replace('/^(include|include_once)\s*\(.*?;/mu','',$input);
//remove internal logging
- $input=preg_replace('/^\s*Prado::coreLog.*\s*;\s*$/mu','',$input);
+ $input=preg_replace('/^\s*Prado::trace.*\s*;\s*$/mu','',$input);
$output.=$input;
}
@@ -80,8 +80,8 @@ function strip_comments($source) } else {
// token array
list($id, $text) = $token;
- switch ($id) {
- case T_COMMENT:
+ switch ($id) {
+ case T_COMMENT:
case T_ML_COMMENT: // we've defined this
case T_DOC_COMMENT: // and this
// no action on comments
|