diff --git a/controllers/d.admin.php b/controllers/d.admin.php index b04ec96..06e3afd 100755 --- a/controllers/d.admin.php +++ b/controllers/d.admin.php @@ -1,4 +1,4 @@ -splitted_url[1]) && $user->rankIsHigher("moderator")) { switch ($controller->splitted_url[1]) { @@ -283,5 +283,3 @@ function formatBytes($bytes, $locale = 'en', $precision = 2) { return $formatted . ' ' . $units[$power]; } - -?> \ No newline at end of file diff --git a/controllers/d.blog.php b/controllers/d.blog.php index 5c78098..e6dd3ce 100755 --- a/controllers/d.blog.php +++ b/controllers/d.blog.php @@ -1,4 +1,4 @@ -splitted_url[1]) { } break; } - -?> \ No newline at end of file diff --git a/controllers/d.contact.php b/controllers/d.contact.php index fdaaae8..f4a250e 100755 --- a/controllers/d.contact.php +++ b/controllers/d.contact.php @@ -1,4 +1,4 @@ - \ No newline at end of file diff --git a/controllers/d.map.php b/controllers/d.map.php index 4a25c67..91badf5 100755 --- a/controllers/d.map.php +++ b/controllers/d.map.php @@ -1,4 +1,4 @@ - \ No newline at end of file diff --git a/controllers/d.poi.php b/controllers/d.poi.php index a85cb5d..245cd17 100755 --- a/controllers/d.poi.php +++ b/controllers/d.poi.php @@ -274,5 +274,3 @@ switch ($controller->splitted_url[1]) { } break; } - -?> diff --git a/controllers/d.users.php b/controllers/d.users.php index bb67720..4d3a69b 100755 --- a/controllers/d.users.php +++ b/controllers/d.users.php @@ -1,4 +1,4 @@ -splitted_url[1])) { else { $notfound = 1; } - -?> \ No newline at end of file diff --git a/controllers/d.wiki.php b/controllers/d.wiki.php index 2537e82..dc9d230 100755 --- a/controllers/d.wiki.php +++ b/controllers/d.wiki.php @@ -1,4 +1,4 @@ -splitted_url[1]) && $wikiPage->checkPermalink($contro else { $notfound = 1; } - -?> \ No newline at end of file diff --git a/includes/config.example.php b/includes/config.example.php index 6c65602..9d801c2 100755 --- a/includes/config.example.php +++ b/includes/config.example.php @@ -48,5 +48,3 @@ $config['SQL_db'] = "postgres"; $config['admin_mail'] = "leo@lstronic.com"; $config['bot_mail'] = "robot@kabano.com"; - -?> \ No newline at end of file diff --git a/includes/images.php b/includes/images.php index ff8e653..d428bad 100755 --- a/includes/images.php +++ b/includes/images.php @@ -1,4 +1,4 @@ - \ No newline at end of file diff --git a/includes/poi_types.struct.php b/includes/poi_types.struct.php index 4dcc279..5da6b52 100644 --- a/includes/poi_types.struct.php +++ b/includes/poi_types.struct.php @@ -89,5 +89,3 @@ $poi_types = array( ) ); - -?> diff --git a/includes/routes.php b/includes/routes.php index 65a325b..c289e4f 100755 --- a/includes/routes.php +++ b/includes/routes.php @@ -1,4 +1,4 @@ -name; include ($config['views_folder']."d.wiki.view.html"); } - -?> diff --git a/includes/session.php b/includes/session.php index 32572b3..8286fe2 100755 --- a/includes/session.php +++ b/includes/session.php @@ -1,4 +1,4 @@ -datetime_format = new IntlDateFormatter($config['locale'], IntlDateFormatter::LONG, IntlDateFormatter::SHORT, $config['timezone']); $user->datetimeshort_format = new IntlDateFormatter($config['locale'], IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, $config['timezone']); - - -?> \ No newline at end of file diff --git a/index.php b/index.php index 5ed4125..4a3ac59 100755 --- a/index.php +++ b/index.php @@ -1,6 +1,4 @@ - \ No newline at end of file +require_once __DIR__ . '/includes/config.php'; +require_once __DIR__ . '/includes/routes.php'; diff --git a/models/d.blog.php b/models/d.blog.php index 41d8047..6ba0fe1 100755 --- a/models/d.blog.php +++ b/models/d.blog.php @@ -1,4 +1,4 @@ - diff --git a/models/d.comments.php b/models/d.comments.php index 845b1a8..5b7be5d 100644 --- a/models/d.comments.php +++ b/models/d.comments.php @@ -228,5 +228,3 @@ class Comments } } } - -?> diff --git a/models/d.locales.php b/models/d.locales.php index 17c98fc..d276612 100755 --- a/models/d.locales.php +++ b/models/d.locales.php @@ -1,4 +1,4 @@ - diff --git a/models/d.poi.php b/models/d.poi.php index 72124a7..b8859dc 100755 --- a/models/d.poi.php +++ b/models/d.poi.php @@ -1,4 +1,4 @@ - diff --git a/models/d.users.php b/models/d.users.php index 1e85008..5284ca9 100755 --- a/models/d.users.php +++ b/models/d.users.php @@ -1,4 +1,4 @@ - diff --git a/models/d.wiki.php b/models/d.wiki.php index 230acf5..17bc075 100755 --- a/models/d.wiki.php +++ b/models/d.wiki.php @@ -1,4 +1,4 @@ - diff --git a/third/Md/Markdown.php b/third/Md/Markdown.php index 43b3c79..7cbd2f9 100755 --- a/third/Md/Markdown.php +++ b/third/Md/Markdown.php @@ -456,7 +456,7 @@ class Markdown implements MarkdownInterface { [ ]* (?=\n{2,}|\Z) # followed by a blank line or end of document - | # PHP and ASP-style processor instructions ( - - - + - - - - - + <?=$head['title']?> — Kabano - Refuges de montagne et métallerie agricole - - + + -? } + - - + + - - + \ No newline at end of file diff --git a/views/blocks/d.nav.html b/views/blocks/d.nav.html index fe99bc1..f142c69 100755 --- a/views/blocks/d.nav.html +++ b/views/blocks/d.nav.html @@ -24,15 +24,15 @@