parent
5a5284b94e
commit
8fc558b8e6
7 changed files with 68 additions and 68 deletions
|
@ -1,6 +1,6 @@
|
|||
<?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.
|
||||
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
|||
ini_set('log_errors','0');
|
||||
|
||||
include 'boot.php';
|
||||
|
||||
|
||||
$a = new App();
|
||||
|
||||
if(x($a->config,'php_path'))
|
||||
|
@ -29,7 +29,7 @@
|
|||
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) {
|
||||
|
@ -53,7 +53,7 @@
|
|||
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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue