| Topic Text | Topic Comments (6) | Topic Properties | Topic Information | colinhebe@yah... | ||||
| Topic title: My first test | Monday March 2, 2009 06:13:09 |
Download topic text | View in monospace font | Tab width set to 8 (change to 4)
| Files in topic: | ||
| [Jump to] index.php | {+15,-0} | |
[Add General Comment] to topic.
| File index.php (Revision 1.0) | [Add File Comment] [Top] |
| 1 | <?php | ||
| 2 | if(file_exists('./resetpassword.php')) { | ||
| 3 | exit('please remove resetpassword.php first.'); | ||
| 4 | } | ||
| 5 | if(file_exists('./include/install.lock')) { | ||
| 6 | require_once './include/common.inc.php'; | ||
| 7 | if(empty($admin_id)) { | ||
| 8 | header("location:login.php"); | ||
| 9 | } else { | ||
| 10 | header("location:admincp.php"); | ||
| 11 | } | ||
| 12 | } else { | ||
| 13 | header("location:install.php"); | ||
| 14 | } | ||
| 15 | ?> | ||
| Legend: | |
| Removed | |
| Changed | |
| Added | |
[Add General Comment] to topic.