@@ 402-405 (lines=4) @@ | ||
399 | // andrazk 20070416 - add install flag and disable manager login |
|
400 | // assets/cache writable? |
|
401 | if (is_writable($path . "../assets/cache")) { |
|
402 | if (file_exists($path . '../assets/cache/installProc.inc.php')) { |
|
403 | @chmod($path . '../assets/cache/installProc.inc.php', 0755); |
|
404 | unlink($path . '../assets/cache/installProc.inc.php'); |
|
405 | } |
|
406 | ||
407 | f_owc($path . "../assets/cache/installProc.inc.php", '<?php $installStartTime = ' . time() . '; ?>'); |
|
408 | } |
|
@@ 1505-1508 (lines=4) @@ | ||
1502 | $sqlParser->close(); |
|
1503 | ||
1504 | // andrazk 20070416 - release manager access |
|
1505 | if (file_exists($path . '../assets/cache/installProc.inc.php')) { |
|
1506 | @chmod($path . '../assets/cache/installProc.inc.php', 0755); |
|
1507 | unlink($path . '../assets/cache/installProc.inc.php'); |
|
1508 | } |
|
1509 | ||
1510 | // setup completed! |
|
1511 | echo PHP_EOL . $_lang['installation_successful'] . PHP_EOL . PHP_EOL; |