Revision 1540
Added by Dietmar almost 13 years ago
save.php | ||
---|---|---|
301 | 301 |
""; |
302 | 302 |
|
303 | 303 |
$config_filename = '../config.php'; |
304 |
|
|
305 | 304 |
// Check if the file exists and is writable first. |
306 | 305 |
if(file_exists($config_filename) AND is_writable($config_filename)) { |
307 | 306 |
if(!$handle = fopen($config_filename, 'w')) { |
... | ... | |
680 | 679 |
$dirs['modules'] = WB_PATH.'/modules/'; |
681 | 680 |
$dirs['templates'] = WB_PATH.'/templates/'; |
682 | 681 |
$dirs['languages'] = WB_PATH.'/languages/'; |
682 |
|
|
683 | 683 |
foreach($dirs AS $type => $dir) { |
684 | 684 |
if($handle = opendir($dir)) { |
685 | 685 |
while(false !== ($file = readdir($handle))) { |
Also available in: Unified diff
did some changes and fixes found by testers