Skip to content
Snippets Groups Projects
Commit 4d6db63f authored by Brett Bieber's avatar Brett Bieber
Browse files

Allow a local config file

parent 0eec55b9
No related branches found
No related tags found
No related merge requests found
/config.inc.php
<?php
require_once dirname(__FILE__).'/../config.sample.php';
$config_file = __DIR__ . '/../config.sample.php';
if (file_exists(__DIR__ . '/../config.inc.php')) {
$config_file = __DIR__ . '/../config.inc.php';
}
require_once $config_file;
UNL_Templates::setCachingService(new UNL_Templates_CachingService_Null());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment