Browse Source

Agregado if(isset($_SERVER['PATH_INFO'])) antes de $param_url = explode("/",$_SERVER['PATH_INFO']);

Victor De la Rocha 18 years ago
parent
commit
b47d00017a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      index.php

+ 3 - 3
index.php View File

22
 	$conf = new configuration();
22
 	$conf = new configuration();
23
 	$tumble = new gelato();
23
 	$tumble = new gelato();
24
 	$template = new plantillas($conf->template);
24
 	$template = new plantillas($conf->template);
25
-	
26
-	$param_url = explode("/",$_SERVER['PATH_INFO']);
27
-	
25
+
26
+	if(isset($_SERVER['PATH_INFO'])) $param_url = explode("/",$_SERVER['PATH_INFO']);
27
+
28
 	if (isset($_GET["post"])) {
28
 	if (isset($_GET["post"])) {
29
 		$id_post = $_GET["post"];
29
 		$id_post = $_GET["post"];
30
 	} else {
30
 	} else {