-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
33 lines (26 loc) · 981 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?
/* Anego CMS - A Ajax based content managment system
* Copyright (C) 2011, Tyron Madlener <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* See http://creativecommons.org/licenses/GPL/2.0/ for details
*
* If you redistribute and/or modify this software, you must attribute the
* original authors.
*/
/* mod_rewrite test for setup.php */
if(isset($_GET['rewrite'])) exit ('yes');
if (file_exists("setup.php")) echo "<h3 align=\"center\">setup.php found, please make sure to delete it!</h3>";
/* Main functions file for page printing, db access, error reporting, etc. */
include("core.php");
/* Some AJAX Callbacks */
if(isset($_GET['a']) || isset($_POST['a'])) {
include('inc/ajax.php');
}
/* Display page */
PrintPage(CurrentPage());
?>