A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

<?php
/**
* Copyright (c) 2019. ExacTI Technology Solutions
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
define('HTTP_URL', 'http://phacil.local/');
define('HTTPS_URL', HTTP_URL);
define('HTTP_IMAGE', HTTP_URL);
define('USE_DB_CONFIG', false);
define('DEBUG', true);
$configs = array('PatternSiteTitle'=>' - ExacTI phacil',
'config_mail_protocol'=>'mail',
'config_error_display' => 1,
'config_template' => "default",
'config_error_filename'=> 'error.log');
//App folders
define('DIR_APPLICATION', '/patch/to/app/folder/');
define('DIR_LOGS', DIR_APPLICATION.'logs/');
define('DIR_PUBLIC', DIR_APPLICATION.'public_html/');
define('DIR_SYSTEM', DIR_APPLICATION.'system/');
define('DIR_IMAGE', DIR_APPLICATION.'public_html/imagens/');
define('DIR_TEMPLATE', DIR_APPLICATION.'view/');
define('DIR_CACHE', DIR_APPLICATION.'cache/');
//Database Connection
/*define('DB_DRIVER', '');
define('DB_HOSTNAME', '');
define('DB_USERNAME', '');
define('DB_PASSWORD', '');
define('DB_DATABASE', '');
define('SQL_CACHE', true);*/
//Cache definitions
define('CACHE_JS_CSS', true);
//define('CACHE_use_js_plus', false);
define('CACHE_MINIFY', true);
define('CACHE_DAYS', 15);
define('CACHE_IMG', true);
define('USE_IMAGICK', true);
define('CACHE_STATIC_HTML', true);