aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/admin.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/pages/admin.php b/pages/admin.php
index 4013e55ac..1a04ab279 100644
--- a/pages/admin.php
+++ b/pages/admin.php
@@ -1,13 +1,7 @@
<?php
-/******************************************************************
- *
- * Tidypics Admin Settings
- *
- *******************************************************************/
-
-include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
-
-global $CONFIG;
+/**
+ * Tidypics Admin Page
+ */
admin_gatekeeper();
set_context('admin');