4chdir(dirname(__FILE__));
5require_once
'common.php';
15chdir(dirname(__FILE__) .
'/..');
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'",
An exception for terminatinating execution or to throw for unit testing.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file