public function __construct() { parent::__construct(); $this->init_vars(); require_once RDIR . '/server/drivers/' . $this->driver . '.php'; $this->set_vars(); }
public function __construct() { parent::__construct(); $this->init_vars(); $this->get_js_config(); $this->freichat_theme = $_SESSION[$this->uid . 'curr_theme']; $this->path = RDIR . '/client/themes/' . $this->freichat_theme . '/'; //$this->js_variable = $_POST['variable_js']; $this->max_file_size = 10 * 1024 * 1024 * 1024; }
public function __construct() { parent::__construct(); $this->init_vars(); $this->get_js_config(); $this->url = str_replace("upload_mobile.php", "", $this->url); $this->p_url = str_replace("plugins/upload/", "", $this->url); $this->uploaded = false; $this->error = 0; $this->filename = null; $this->path = 'upload/'; }
public function __construct() { parent::__construct(); $this->init_vars(); $this->get_js_config(); if (isset($_SERVER['HTTP_X_TYPE']) && $_SERVER['HTTP_X_TYPE'] == 'smileys') { $this->path = RDIR . '/client/themes/smileys/'; } else { $this->path = RDIR . '/client/themes/' . $this->freichat_theme . '/'; } $this->max_file_size = 10 * 1024 * 1024 * 1024; }
public function __construct() { parent::__construct(); $this->init_vars(); $this->get_js_config(); $this->url = str_replace("upload.php", "", $this->url); $this->uploaded = false; $this->error = 0; $this->filename = null; $this->path = 'upload/'; $this->is_chatroom = $_POST['mode'] == 'chatroom'; }
public function __construct() { parent::__construct(); $this->init_vars(); require 'drivers/' . $this->driver . '.php'; $this->mod = new $this->driver(); $this->mod->db_prefix = $this->db_prefix; $this->mod->row_username = $this->row_username; $this->mod->row_userid = $this->row_userid; $this->mod->usertable = $this->usertable; $this->mod->db = $this->db; $this->mod->pdo_driver = $this->pdo_driver; $this->mod->set_db_data(); // $this->connect_db(); }
public function __construct($oot = '../') { parent::__construct(); $this->init_vars(); $this->one_or_three = $oot; if ($oot == '../../../') { require_once '../home/magic_gpc_unset.php'; } if (!isset($_SESSION[$this->uid . 'curr_theme'])) { $_SESSION[$this->uid . 'curr_theme'] = 'basic'; } $this->path = RDIR . '/client/themes/' . $_SESSION[$this->uid . 'curr_theme']; // var_dump($_SESSION); $this->freichat_theme = $_SESSION[$this->uid . 'curr_theme']; }
public function __construct() { parent::__construct(); $this->init_vars(); }
public function __construct() { parent::__construct(); }