The following code works, when i just echo the $_SERVER['REQUEST_URI'], but shows nothing when i call it in an if statement ....
$get_params = $_SERVER['REQUEST_URI'];
if ($get_params == "projects/ecom/public/admin/" || $get_params == "projects/ecom/public/admin/index.php" ) {
print_r($get_params);
include(TEMPLATE_BACK ."/admin_content.php");
}
Aucun commentaire:
Enregistrer un commentaire