Fall back on default config if custom one is not available.
This commit is contained in:
@@ -5,6 +5,11 @@ require_once( dirname(__FILE__).'/includes/load-yourls.php' );
|
||||
|
||||
// Ask for Infinity Squared settings
|
||||
include( dirname(__FILE__).'/public/config.php' );
|
||||
|
||||
if( ( @include dirname(__FILE__).'/public/config.php' ) === false) {
|
||||
include( dirname(__FILE__).'/public/config-sample.php' );
|
||||
}
|
||||
|
||||
class ISQ { public static $general = array(), $links = array(), $social = array(), $recaptcha = array(); }
|
||||
|
||||
// Load translations
|
||||
|
||||
Reference in New Issue
Block a user