Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Application.config.php loaded by Solar::start() in index.php
- <?php
- /* Set global configuration here */
- $config['Solar']['ini_set']['display_errors'] = false;
- /**
- * Load configuration for this environment
- */
- $envConfig = CONFIG_PATH . '/Application.' . APP_ENV . '.config.php';
- if (file_exists($envConfig)) {
- include_once $envConfig;
- }
- /**
- * done!
- */
- return $config;
- ## Application.development.config.php
- <?php
- /* Inherit from production */
- include_once CONFIG_PATH . '/Application.production.config.php';
- $config['Solar']['ini_set']['display_errors'] = true;
Add Comment
Please, Sign In to add comment