Rev 1321 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1321 | Rev 1434 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | use ViaThinkSoft\OIDplus\OIDplusSqlSlangPlugin; |
22 | use ViaThinkSoft\OIDplus\OIDplusSqlSlangPlugin; |
23 | use ViaThinkSoft\OIDplus\OIDplusCaptchaPlugin; |
23 | use ViaThinkSoft\OIDplus\OIDplusCaptchaPlugin; |
24 | 24 | ||
25 | require_once __DIR__ . '/../includes/oidplus.inc.php'; |
25 | require_once __DIR__ . '/../includes/oidplus.inc.php'; |
26 | 26 | ||
- | 27 | originHeaders(); // This is important so that http://.../setup/ can query https://.../setup/ in order to do an SSL availability check |
|
- | 28 | ||
27 | const BASECONFIG_FILE_OLD = 'includes/config.inc.php'; |
29 | const BASECONFIG_FILE_OLD = 'includes/config.inc.php'; |
28 | const BASECONFIG_FILE_NEW = 'userdata/baseconfig/config.inc.php'; |
30 | const BASECONFIG_FILE_NEW = 'userdata/baseconfig/config.inc.php'; |
29 | $existing_config = ''; |
31 | $existing_config = ''; |
30 | if (file_exists(__DIR__.'/../'.BASECONFIG_FILE_OLD)) $existing_config = BASECONFIG_FILE_OLD; |
32 | if (file_exists(__DIR__.'/../'.BASECONFIG_FILE_OLD)) $existing_config = BASECONFIG_FILE_OLD; |
31 | if (file_exists(__DIR__.'/../'.BASECONFIG_FILE_NEW)) $existing_config = BASECONFIG_FILE_NEW; |
33 | if (file_exists(__DIR__.'/../'.BASECONFIG_FILE_NEW)) $existing_config = BASECONFIG_FILE_NEW; |