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:
Georges Dupéron 2010-08-04 08:19:53 +02:00
parent 5bd705c1de
commit f6bcc3fd64
17 changed files with 17 additions and 17 deletions

View File

@ -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);

View File

@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . "./../__cms__/cms.php");
require_once(dirname(__FILE) . "/./../__cms__/cms.php");
CMS::page("/galerie");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . "./../../__cms__/cms.php");
require_once(dirname(__FILE) . "/./../../__cms__/cms.php");
CMS::page("/galerie/periode 1");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -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");

View File

@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . "./../../__cms__/cms.php");
require_once(dirname(__FILE) . "/./../../__cms__/cms.php");
CMS::page("/galerie/periode 2");

View File

@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . "./../__cms__/cms.php");
require_once(dirname(__FILE__) . "/./__cms__/cms.php");
CMS::page("/");