From d0febef831b2556e781d286e242e6af506de4b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=E1=BB=91ng=20Duy=20T=C3=A2n?= Date: Wed, 19 Apr 2017 11:03:26 +0700 Subject: [PATCH] Update Engine.php --- src/Sifoni/Engine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sifoni/Engine.php b/src/Sifoni/Engine.php index 5234c70..a656791 100644 --- a/src/Sifoni/Engine.php +++ b/src/Sifoni/Engine.php @@ -240,7 +240,7 @@ private function loadHooks() { $file_path = $this->getAppPath('config').DIRECTORY_SEPARATOR.'hook.php'; if (is_readable($file_path)) { - include_once $file_path; + require $file_path; } } @@ -288,7 +288,7 @@ private function loadRouting() $routing_file_path = $this->getAppPath('config').DIRECTORY_SEPARATOR.'routing.php'; if (is_readable($routing_file_path)) { - $maps = require_once $routing_file_path; + $maps = require $routing_file_path; } if ($maps) {