Agregado if(isset($_SERVER['PATH_INFO'])) antes de $param_url = explode("/",$_SERVER['PATH_INFO']);
parent
5625762332
commit
b47d00017a
|
|
@ -22,9 +22,9 @@
|
||||||
$conf = new configuration();
|
$conf = new configuration();
|
||||||
$tumble = new gelato();
|
$tumble = new gelato();
|
||||||
$template = new plantillas($conf->template);
|
$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"])) {
|
if (isset($_GET["post"])) {
|
||||||
$id_post = $_GET["post"];
|
$id_post = $_GET["post"];
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue