Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -8,17 +8,22 @@
|
||||
* @since 07 May 2013
|
||||
*/
|
||||
|
||||
use IPS\Data\Store;
|
||||
use IPS\Login;
|
||||
use IPS\Request;
|
||||
use IPS\Settings;
|
||||
|
||||
@header( "Cache-Control: no-cache, no-store, must-revalidate, max-age=0, s-maxage=0" );
|
||||
@header( "Expires: 0" );
|
||||
|
||||
define('REPORT_EXCEPTIONS', TRUE);
|
||||
require_once str_replace( 'applications/core/interface/cloud/sync.php', '', str_replace( '\\', '/', __FILE__ ) ) . 'init.php';
|
||||
|
||||
if ( \IPS\Login::compareHashes( md5( \IPS\Settings::i()->sql_user . \IPS\Settings::i()->sql_pass ), \IPS\Request::i()->key ) === FALSE )
|
||||
if ( Login::compareHashes( md5( Settings::i()->sql_user . Settings::i()->sql_pass ), Request::i()->key ) === FALSE )
|
||||
{
|
||||
echo "fail\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
\IPS\Data\Store::i()->syncCompleted = 1;
|
||||
Store::i()->syncCompleted = 1;
|
||||
echo "success\n";
|
||||
Reference in new issue
Block a user