<?php ini_set('display_errors', 1); ini_set('html_errors', 0); error_reporting(E_ALL); include "core/core.class.php"; $core = new core(); $core->exec('load config %root_path%config.ini'); include $core->config['classes_path'].'c_time.class.php'; include $core->config['functions_path'].'timer.function.php'; $core->exec('load module db -sm connect'); $core->exec('load module advertisement -sm set_weight -cwr'); print_r($db->debug); $core->exec('core dump'); ?>