Made the php includes much more modular and simpler by lumping them all in 1 file inc_all.php instead of all over the place
This commit is contained in:
11
inc_side_nav.php
Normal file
11
inc_side_nav.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
if(basename(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH)) == "client.php"){
|
||||
include("client_side_nav.php");
|
||||
//}elseif(basename(parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH)) == "settings-general.php"){
|
||||
//include("admin_side_nav.php");
|
||||
}else{
|
||||
include("side_nav.php");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user