Filename | |
---|---|
src/index.php |
diff --git a/src/index.php b/src/index.php index af50db7fb..ed53172b3 100755 --- a/src/index.php +++ b/src/index.php @@ -37,7 +37,6 @@ namespace seekquarry\yioop; use seekquarry\yioop\configs as C; use seekquarry\yioop\library as L; -use seekquarry\yioop\library\Routes; /** * Main entry point to the Yioop web app. @@ -174,7 +173,7 @@ function configureRewrites() 'user' => 'routeFeeds', 'p' => 'routeWiki' ]; - if(class_exists(C\NS_LIB . "Routes")) { + if(class_exists("Routes")) { $route_map = array_merge($route_map, Routes::getRoutes()); } /**