Explorar o código

creates compiled-templates directory to avoid permission error

Keith Newman %!s(int64=9) %!d(string=hai) anos
pai
achega
9dc20f0a09

+ 0 - 0
frameworks/PHP/phalcon/app/compiled-templates/.blank


+ 1 - 1
frameworks/PHP/phalcon/public/index.php

@@ -44,7 +44,7 @@ try {
                 $volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
 
                 $volt->setOptions(array(
-                    "compiledPath" => APP_PATH . "/app/views/",
+                    "compiledPath" => APP_PATH . "/app/compiled-templates/",
                     "compiledExtension" => ".compiled",
                     "compiledSeparator" => '_',
                 ));