Add the source for task.php [#12 state:resolved]
This commit is contained in:
parent
48143d48da
commit
1f5f673025
99
task.php
99
task.php
@ -1,47 +1,54 @@
|
||||
<?php //00357
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if((@$__id[1])==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('<b>Site error:</b> the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
|
||||
<?php
|
||||
require_once('config.inc.php');
|
||||
require_once('modules/core/vars.inc.php');
|
||||
$C_vars = new CORE_vars;
|
||||
$VAR = $C_vars->f;
|
||||
require_once('includes/adodb/adodb.inc.php');
|
||||
require_once('includes/smarty/Smarty.class.php');
|
||||
require_once(PATH_CORE.'auth.inc.php');
|
||||
require_once(PATH_CORE.'database.inc.php');
|
||||
require_once(PATH_CORE.'list.inc.php');
|
||||
require_once(PATH_CORE.'method.inc.php');
|
||||
require_once(PATH_CORE.'session.inc.php');
|
||||
require_once(PATH_CORE.'theme.inc.php');
|
||||
require_once(PATH_CORE.'translate.inc.php');
|
||||
require_once(PATH_CORE.'setup.inc.php');
|
||||
require_once(PATH_CORE.'xml.inc.php');
|
||||
require_once(PATH_CORE.'crypt.inc.php');
|
||||
$C_debug = new CORE_debugger;
|
||||
$C_setup = new CORE_setup;
|
||||
$C_sess = new CORE_session;
|
||||
$C_sess->session_constant();
|
||||
$C_translate= new CORE_translate;
|
||||
$C_method = new CORE_method;
|
||||
if ((isset($VAR['_login'])) && (isset($VAR['_username'])) && (isset($VAR['_password']))) {
|
||||
require_once(PATH_CORE . 'login.inc.php');
|
||||
$C_login = new CORE_login_handler();
|
||||
$C_login->login($VAR);
|
||||
} elseif (isset($VAR['_logout'])) {
|
||||
require_once(PATH_CORE . 'login.inc.php');
|
||||
$C_login = new CORE_login_handler();
|
||||
$C_login->logout($VAR);
|
||||
}
|
||||
$C_sess->session_constant_log();
|
||||
$force = false;
|
||||
$C_auth = new CORE_auth ($force);
|
||||
$smarty = new Smarty;
|
||||
$C_list = new CORE_list;
|
||||
$C_block = new CORE_block;
|
||||
|
||||
|
||||
require_once(PATH_MODULES . 'task/task.inc.php');
|
||||
$task = new task;
|
||||
|
||||
if(!empty($VAR['id'])) $task->id=$VAR['id'];
|
||||
elseif(!empty($_SERVER["argv"])) $task->id = $_SERVER["argv"][0];
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
if(@$task->id) {
|
||||
$task->run($VAR, &$task);
|
||||
} else {
|
||||
$task->run_all();
|
||||
}
|
||||
?>
|
||||
4+oV5C+f1D2+TVtdKnYHypKerQM/kTOOmjlgKTG0ZQjI1+pEuGw/k/+F2shT0SEqSP10GRCfA2mM
|
||||
6qocQRtIEEfQW3VBoiED8Mjn7yOocgtBodlGU3ERQt1GhfNzdEpTkn7qrHvlBy9VisaL198vs1aj
|
||||
lCeAC1t6mgkAYhBMw4U/61czMEBP36ZIaEwIJ4fXLeTiELV7h1zwFSMhdftQWLAiVu/ijKojf+1k
|
||||
KEmmu+jmrcqqB/jTGIZpCcBdf1WlHpcEQSVz2WlmqbMQPu44hNmhttx0YyrZhT4J8qcnUv9hkJ8a
|
||||
AJIpJgUtxPswatxpyCiFFJDr9n5EFeXRXGjva98wDrTtun9iPquxp0mg91/vUPN4It2kRuFXLswE
|
||||
Y/8iMT/KWKzqWuDSjLBsICQS9LSc9V49Dha9rOGQ8xKOdYD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