-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcron.php
30 lines (27 loc) · 973 Bytes
/
cron.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
# **************************************************************************#
# MolyX2
# ------------------------------------------------------
# @copyright (c) 2009-2010 MolyX Group..
# @official forum http://molyx.com
# @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 2.0
#
# $Id$
# **************************************************************************#
define('THIS_SCRIPT', 'cron');
$content_type = true;
require_once('./global.php');
require_once(ROOT_PATH . 'includes/functions_cron.php');
@ignore_user_abort(1);
@set_time_limit(1200);
$filedata = base64_decode('R0lGODlhAQABAIAAAMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
header('Content-Type: image/gif');
if (!(strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false AND strpos(SAPI_NAME, 'cgi') !== false))
{
header('Content-Length: ' . strlen($filedata));
header('Connection: Close');
}
echo $filedata;
$functions = new functions_cron();
$functions->docron();
?>