/* session init */ session_start(); /* fix sync problems or delete session file */ //unset($_SESSION); exit(); /* does our configuration file exist? */ if (!file_exists('config.php')) { exit('config.php file does not exist'); } include 'config.php'; /* load the libraries class */ if (!file_exists('../libs/classes/class.libraries.php')) { exit('../libs/classes/class.libraries.php does not exist'); } include '../libs/classes/class.libraries.php'; /* handle for libraries object */ $libs = new libraries(); /* load the ajax class */ if (!file_exists('../libs/classes/class.ajax.php')) { exit('../libs/classes/class.ajax.php does not exist'); } include '../libs/classes/class.ajax.php'; /* load the openssl class */ if (!file_exists('../libs/classes/class.openssl.php')) { exit('../libs/classes/class.openssl.php does not exist'); } include '../libs/classes/class.openssl.php'; /* verify settings */ if (!verify($settings)) { exit($libs->JSONencode(array('error' => 'Please configure the config.php file'))); } /* handle for class object */
* @copyright 2008 Simon (Wallenium) Wallmann * @link http://eqdkp-plus.com * @package libraries * @version $Rev: 5421 $ * * $Id: libloader.inc.php 5421 2009-08-03 20:36:07Z wallenium $ */ // Configuration $myPluginID = 'bosssuite'; // Plugin ID, p.e. 'raidplan' // DO NOT CHANGE if (!defined('EQDKP_INC')) { header('HTTP/1.0 404 Not Found'); exit; } // EQDKP PLUS 0.7.x ++ if (is_object($libloader)) { $libloader->CheckLibVersion('Libraries', false, $pm->plugins[$myPluginID]->fwversion); $khrml = $html; $khrml->SetPluginName($myPluginID); // EQDKP PLUS 0.6.3.1 ++ } else { if (!file_exists($eqdkp_root_path . 'libraries/libraries.php')) { message_die($user->lang['libloader_notfound'] ? $user->lang['libloader_notfound'] : 'Library Loader not available! Check if the "eqdkp/libraries/" folder is uploaded correctly'); } require_once $eqdkp_root_path . 'libraries/libraries.php'; $libloader = new libraries(); $libloader->CheckLibVersion('Libraries', false, $pm->plugins[$myPluginID]->fwversion); $jquery = $jqueryp; $khrml = new myHTML($myPluginID); }