Browse Source

creates compiled-templates directory to avoid permission error

Keith Newman 9 years ago
parent
commit
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 = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
 
 
                 $volt->setOptions(array(
                 $volt->setOptions(array(
-                    "compiledPath" => APP_PATH . "/app/views/",
+                    "compiledPath" => APP_PATH . "/app/compiled-templates/",
                     "compiledExtension" => ".compiled",
                     "compiledExtension" => ".compiled",
                     "compiledSeparator" => '_',
                     "compiledSeparator" => '_',
                 ));
                 ));