@@ 998-1001 (lines=4) @@ | ||
995 | // $sqlParser->close(); |
|
996 | ||
997 | // andrazk 20070416 - release manager access |
|
998 | if (file_exists(dirname(__DIR__, 3) . '/assets/cache/installProc.inc.php')) { |
|
999 | @chmod(dirname(__DIR__, 3) . '/assets/cache/installProc.inc.php', 0755); |
|
1000 | unlink(dirname(__DIR__, 3) . '/assets/cache/installProc.inc.php'); |
|
1001 | } |
|
1002 | } |
|
1003 | } |
|
1004 | include_once dirname(__DIR__) . '/template/actions/install.php'; |
@@ 294-301 (lines=8) @@ | ||
291 | ||
292 | // andrazk 20070416 - add install flag and disable manager login |
|
293 | // assets/cache writable? |
|
294 | if (is_writable("../assets/cache")) { |
|
295 | if (file_exists('../assets/cache/installProc.inc.php')) { |
|
296 | @chmod('../assets/cache/installProc.inc.php', 0755); |
|
297 | unlink('../assets/cache/installProc.inc.php'); |
|
298 | } |
|
299 | ||
300 | f_owc("../assets/cache/installProc.inc.php", '<?php $installStartTime = '.time().'; ?>'); |
|
301 | } |
|
302 | ||
303 | if($installMode > 0 && $_POST['installdata'] == "1") { |
|
304 | echo '<p class="notes"><strong>' . $_lang['sample_web_site'] . ':</strong> ' . $_lang['sample_web_site_note'] . '</p>'; |