PHP Classes

File: conf/template.php

Recommend this page to a friend!
  Classes of Fernando Val   Springy   conf/template.php   Download  
File: conf/template.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Springy
Microframework for Web application development
Author: By
Last change:
Date: 1 month ago
Size: 765 bytes
 

Contents

Class file image Download
<?php

/**
 * Springy Framework Configuration File.
 *
 * Do not remove this file.
 */

return [
   
'template_engine' => 'smarty',
   
'debug' => false,
   
'auto_reload' => false,
   
'strict_variables' => true,
   
'autoescape' => false,
   
'optimizations' => 1,
   
'debugging_ctrl' => 'NONE',
   
'default_template_path' => app_path() . DS . 'templates_default',
   
'template_path' => app_path() . DS . 'templates',
   
'template_config_path' => app_path() . DS . 'templates_conf',
   
'compiled_template_path' => var_dir() . DS . 'compiled',
   
'template_cached_path' => cache_dir(),
   
'use_sub_dirs' => false,
   
'smarty_extensions' => [],
   
'errors' => [
       
404 => '_error404',
       
500 => '_error500',
       
503 => '_error503',
    ],
];