* -----------------------------------------------------------------------
 * @author		$Author: hoofy_leon $
 * @copyright	2006-2011 EQdkp-Plus Developer Team
 * @link		http://eqdkp-plus.com
 * @package		eqdkp-plus
 * @version		$Rev: 12583 $
 * 
 * $Id: infotooltip_feed.php 12583 2012-12-13 17:49:38Z hoofy_leon $
 */
define('EQDKP_INC', true);
$eqdkp_root_path = './../';
$noinit = true;
include $eqdkp_root_path . '/common.php';
registry::add_const('root_path', $eqdkp_root_path);
//init our db-class
registry::load_config();
require $eqdkp_root_path . 'core/dbal/dbal.php';
require_once $eqdkp_root_path . 'core/dbal/' . registry::get_const('dbtype') . '.php';
registry::$aliases['db'] = array('dbal_' . registry::get_const('dbtype'), array(array('open' => true)));
error_reporting(E_ALL);
header('content-type: text/html; charset=UTF-8');
include $eqdkp_root_path . 'infotooltip/infotooltip.class.php';
$itt = registry::register('infotooltip');
$in = registry::register('input');
registry::$aliases['bridge'] = 'bridge_generic';
/* Itemfetching
 * Parameters accepted:
 * 	- name => item_name OR item_ID if game_id = true
 *	- lang => language of item (short version, e.g. 'en', 'de')
 *	- game_id => see name
 */
Exemple #2
0
define('DEBUG', 99);
define('INSTALLER', true);
@set_time_limit(0);
@ignore_user_abort(true);
define('ANONYMOUS', -1);
include_once $eqdkp_root_path . 'core/super_registry.class.php';
include_once $eqdkp_root_path . 'core/registry.class.php';
include_once $eqdkp_root_path . 'core/gen_class.class.php';
registry::add_const('root_path', $eqdkp_root_path);
registry::add_const('lite_mode', true);
// switch to userdefined error-handling
registry::$aliases['pdl'] = array('plus_debug_logger', array(false, false));
registry::$aliases['user'] = '******';
$pdl = registry::register('plus_debug_logger', array(false, false));
set_error_handler(array($pdl, 'myErrorHandler'));
register_shutdown_function(array($pdl, "catch_fatals"));
$pdl->set_debug_level(DEBUG);
//to prevent errors on further adding of debug-levels
unset($pdl);
registry::load_config(true);
//New DBAL
if ($dbtype = registry::get_const('dbtype')) {
    include_once registry::get_const('root_path') . 'libraries/dbal/dbal.class.php';
    require_once registry::get_const('root_path') . 'libraries/dbal/' . registry::get_const('dbtype') . '.dbal.class.php';
    registry::$aliases['db'] = array('dbal_' . registry::get_const('dbtype'), array(array('open' => true)));
}
include_once $eqdkp_root_path . 'core/constants.php';
include_once $eqdkp_root_path . 'core/core.functions.php';
include_once $eqdkp_root_path . 'install/install.class.php';
registry::load_html_fields();
registry::register('install')->init();