<?php /** * PHP Quick * * An extensible barebones web application development framework for PHP * * @package PHP Quick * @author Ihtesham Ali * @copyright Copyright (c) 2011 PHP Quick * @license GNU General Public License version 3.0 (GPLv3) * @link http://sourceforge.net/projects/phpquick */ // ------------------------------------------------------------------------ /** * Application-wide configuration * * @package PHP Quick * @author Ihtesham Ali */ // ------------------------------------------------------------------------ // 0 (zero) for no errors error_reporting(E_ALL ^ E_NOTICE); $cfg = array(); // The absolute application URL (with trailing slash) $cfg['app_url'] = 'http://www.example.com/'; // The absolute path to the application directory (with trailing slash) $cfg['app_dir'] = '/home/user/public_html/'; // ------------------------DO NOT EDIT BELOW--------------------------- // // The absolute path to config directory (with trailing slash) $cfg['dir_config'] = $cfg['app_dir'] . 'config/'; // The absolute path to models directory (with trailing slash) $cfg['dir_models'] = $cfg['app_dir'] . 'models/'; // The absolute path to views directory (with trailing slash) $cfg['dir_views'] = $cfg['app_dir'] . 'views/'; // The absolute path to errors directory (with trailing slash) $cfg['dir_errors'] = $cfg['app_dir'] . 'errors/'; // Model and View file extension $cfg['mv_file_ext'] = 'php'; // Path to the Default Model file $cfg['default_model'] = $cfg['dir_models'] . 'default' . '.' . $cfg['mv_file_ext']; ?>