cvs: phpdoc /scripts/iniupdate rm-ini-files.php
| From: | Nuno Lopes | Date: | Sat, 26 Mar 2005 13:40:43 +0000 |
| Subject: | cvs: phpdoc /scripts/iniupdate rm-ini-files.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969367107@lists.php.net to get a copy of this message | ||
nlopess Sat Mar 26 08:40:43 2005 EDT
Added files:
/phpdoc/scripts/iniupdate rm-ini-files.php
Log:
add new script to help in the debugging
http://cvs.php.net/co.php/phpdoc/scripts/iniupdate/rm-ini-files.php?r=1.1&p=1
Index: phpdoc/scripts/iniupdate/rm-ini-files.php
+++ phpdoc/scripts/iniupdate/rm-ini-files.php
<?php
/* this script will delete all files that can be modified by
the ini updater. It's very usefull when debugging! */
$phpdoc_dir = '../..';
$ini_files = glob("$phpdoc_dir/en/reference/*/ini.xml");
$ini_files[] = "$phpdoc_dir/en/features/safe-mode.xml";
$ini_files[] = "$phpdoc_dir/en/appendices/ini.xml";
foreach ($ini_files as $file) {
unlink($file);
echo "Deleted $file\n";
}
?>