1
0
Fork 0
- Change all references to language folders
This commit is contained in:
Hypolite Petovan 2016-09-30 10:46:56 -04:00
commit 8fc558b8e6
7 changed files with 68 additions and 68 deletions

View file

@ -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();
}