<?php
- // Tired of chasing typos and finding them after a commit.
- // Run this from cmdline in basedir and quickly see if we've
+ // Tired of chasing typos and finding them after a commit.
+ // Run this from cmdline in basedir and quickly see if we've
// got any parse errors in our application files.
ini_set('log_errors','0');
include 'boot.php';
-
+
$a = new App();
if(x($a->config,'php_path'))
foreach($files as $file) {
passthru("$phpath -l $file", $ret); $ret===0 or die();
}
-
+
echo "Directory: object\n";
$files = glob('object/*.php');
foreach($files as $file) {
echo 'util/strings.php' . "\n";
passthru("$phpath -l util/strings.php", $ret); $ret===0 or die();
- $files = glob('view/*/strings.php');
+ $files = glob('view/lang/*/strings.php');
foreach($files as $file) {
passthru("$phpath -l $file", $ret); $ret===0 or die();
}