Commit 0f1a2e79 authored by Seblu's avatar Seblu

merge admin directory and include

parent aa34849a
Order allow,deny
deny from all
......@@ -2,16 +2,16 @@
function dispAdminHome() {
include_once "admin/admin_tables.php";
include_once "admin/functions_sql_admin.php";
include_once "admin/admin_menu.php";
include_once "admin/admin_videos.php";
include_once "admin/admin_news.php";
include_once "admin/admin_edito.php";
include_once "admin/admin_links.php";
include_once "admin/admin_members.php";
include_once "admin/admin_users.php";
include_once "admin/admin_blacklist.php";
include_once "include/admin_tables.php";
include_once "include/functions_sql_admin.php";
include_once "include/admin_menu.php";
include_once "include/admin_videos.php";
include_once "include/admin_news.php";
include_once "include/admin_edito.php";
include_once "include/admin_links.php";
include_once "include/admin_members.php";
include_once "include/admin_users.php";
include_once "include/admin_blacklist.php";
if ($_SESSION["user_right"] >= $GLOBALS["REPORTER"] )
{
......
......@@ -17,7 +17,7 @@ include_once "include/videos.php";
include_once "include/members.php";
include_once "include/contacts.php";
include_once "include/dailymotion.php";
include_once "admin/admin_home.php";
include_once "include/admin_home.php";
// define user right and id if new session
if (!$_SESSION["user_id"] or !$_SESSION["user_right"]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment