diff --git a/app/public/index.php b/app/public/index.php index f703b9340..d1ed85680 100644 --- a/app/public/index.php +++ b/app/public/index.php @@ -69,7 +69,7 @@ $app->add(new CacheMiddleware()); $routeCollector = $app->getRouteCollector(); -if (!CACHING_ENABLED) { +if (CACHING_ENABLED) { $routeCollector->setCacheFile('../tmp/cache/route_cache.php'); }