diff --git a/core/class/router.class.php b/core/class/router.class.php index 8917801d..3c40ca6e 100644 --- a/core/class/router.class.php +++ b/core/class/router.class.php @@ -1,4 +1,12 @@ getData(['user']) === [] diff --git a/core/core.php b/core/core.php index 0f80817c..ed00f6ea 100644 --- a/core/core.php +++ b/core/core.php @@ -15,12 +15,9 @@ /** * Chargement des classes filles - * layout : composition des écrans * router : aiguillage des pages */ -require_once('class/layout.class.php'); -require_once('class/router.class.php'); - +require_once('core/class/router.class.php'); class common { diff --git a/core/layout/blank.php b/core/layout/blank.php index 2a46f72d..a8ca73c8 100644 --- a/core/layout/blank.php +++ b/core/layout/blank.php @@ -1,4 +1,3 @@ - diff --git a/core/layout/light.php b/core/layout/light.php index c2906456..40d10dc3 100644 --- a/core/layout/light.php +++ b/core/layout/light.php @@ -1,4 +1,3 @@ - diff --git a/core/layout/main.php b/core/layout/main.php index 246d6939..391bad0f 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -1,4 +1,3 @@ -