<?php
- $arr = array();
+ $arr = [];
- $files = array('index.php','boot.php');
+ $files = ['index.php','boot.php'];
$files = array_merge($files,glob('mod/*'),glob('include/*'),glob('addon/*/*'));
preg_match_all($pat,$str,$matches);
preg_match_all($patt, $str, $matchestt);
-
+
if(count($matches)){
foreach($matches[1] as $match) {
$s .= ");\n";
} else {
if(substr($a,0,1) == '$')
- continue;
+ continue;
$s .= '$a->strings[' . $a . '] = '. $a . ';' . "\n";
}
}
$zones = timezone_identifiers_list();
foreach($zones as $zone)
$s .= '$a->strings[\'' . $zone . '\'] = \'' . $zone . '\';' . "\n";
-
+
echo $s;
\ No newline at end of file