configGlobal
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once('/var/www/html/.hta_config/var.php');
|
||||
require_once('.hta_config/var.php');
|
||||
$url = explode('/', $_SERVER['REQUEST_URI']);
|
||||
if (strpos($url[1], "?") !== false) {
|
||||
$url2 = explode('?', $url[1]);
|
||||
@@ -9,6 +9,6 @@ if (strpos($url[1], "?") !== false) {
|
||||
|
||||
if($slug=="") require_once('.hta_slug/_home.php');
|
||||
elseif(file_exists(".hta_slug/".$slug.".php")) include ".hta_slug/".$slug.".php";
|
||||
else require_once('/var/www/html/.htac_404.php');
|
||||
require_once('/var/www/html/.htac_footer.php');
|
||||
else require_once('.htac_404.php');
|
||||
require_once('.htac_footer.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user