From b47d00017afd0a7a1b642ed409e90ca8242b8077 Mon Sep 17 00:00:00 2001 From: Victor De la Rocha Date: Fri, 11 May 2007 02:31:17 +0000 Subject: [PATCH] Agregado if(isset($_SERVER['PATH_INFO'])) antes de $param_url = explode("/",$_SERVER['PATH_INFO']); --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index ac1e09d..2bd2019 100644 --- a/index.php +++ b/index.php @@ -22,9 +22,9 @@ $conf = new configuration(); $tumble = new gelato(); $template = new plantillas($conf->template); - - $param_url = explode("/",$_SERVER['PATH_INFO']); - + + if(isset($_SERVER['PATH_INFO'])) $param_url = explode("/",$_SERVER['PATH_INFO']); + if (isset($_GET["post"])) { $id_post = $_GET["post"]; } else {