4 chdir(dirname(__FILE__));
5 require_once
'common.php';
15 chdir(dirname(__FILE__) .
'/..');
18 $file = substr($file, 2);
19 if (strpos($file,
'library/standalone/') === 0)
continue;
20 if (strpos($file,
'maintenance/update-config.php') === 0)
continue;
21 if (strpos($file,
'test-settings.php') === 0)
continue;
22 if (substr_count($file,
'.') > 1)
continue;
26 "#config->(set|get)\('(.+?)', '(.+?)'#",
27 "config->\\1('\\2.\\3'",
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file