Erreur dans les index.php des pseudo-redirections.
Il manquait un slash entre le nom du dossier et le '.' Je ne sais pas comment ça a pu marcher pour certaines pages !
This commit is contained in:
parent
5bd705c1de
commit
f6bcc3fd64
|
@ -26,7 +26,7 @@ class Stockage {
|
|||
$b = Path::combine(Config::get("chemin_base"), "cms.php");
|
||||
|
||||
$php_str = "<?php\n\n";
|
||||
$php_str .= "require_once(dirname(__FILE__) . \"" . Path::relative($a, $b) . "\");\n\n";
|
||||
$php_str .= "require_once(dirname(__FILE__) . \"/" . Path::relative($a, $b) . "\");\n\n";
|
||||
$php_str .= "CMS::page(\"" . $chemin_vers->get() . "\");\n\n";
|
||||
$php_str .= "?>";
|
||||
return Système_fichiers::écrire(Path::combine($a, "/index.php"), $php_str);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 1/evenement a");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 1/evenement a/photo a");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 1/evenement a/photo b");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 1/evenement a/photo c");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 1");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement machin");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement machin/photo a");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement machin/photo b");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement machin/photo c");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement truc");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement truc/photo a");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement truc/photo b");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2/evenement truc/photo c");
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once(dirname(__FILE__) . "./../../__cms__/cms.php");
|
||||
require_once(dirname(__FILE) . "/./../../__cms__/cms.php");
|
||||
|
||||
CMS::page("/galerie/periode 2");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user