mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
porting some 0.7 environment changes
This commit is contained in:
@@ -101,12 +101,14 @@ class e_thumbpage
|
||||
$sql_info = array(); //compact('mySQLserver', 'mySQLuser', 'mySQLpassword', 'mySQLdefaultdb', 'mySQLprefix', 'mySQLcharset');
|
||||
//e107::getInstance()->initCore($e107_paths, $self, $sql_info, varset($e107_CONFIG, array()));
|
||||
$e107 = e107::getInstance();
|
||||
$e107->prepare_request();
|
||||
$e107->setDirs($e107_paths, varset($E107_CONFIG, array()));
|
||||
$e107->set_constants();
|
||||
$e107->set_paths();
|
||||
$e107->file_path = $e107->fix_windows_paths($self)."/";
|
||||
$e107->set_base_path();
|
||||
$e107->set_urls();
|
||||
$e107->set_request(false);
|
||||
$e107->set_urls(false);
|
||||
unset($tmp, $self);
|
||||
|
||||
// parse request
|
||||
@@ -115,8 +117,8 @@ class e_thumbpage
|
||||
|
||||
function parseRequest()
|
||||
{
|
||||
//parse_str(str_replace('&', '&', e_QUERY), $this->_request);
|
||||
parse_str($_SERVER['QUERY_STRING'], $this->_request);
|
||||
parse_str(str_replace('&', '&', e_QUERY), $this->_request);
|
||||
//parse_str($_SERVER['QUERY_STRING'], $this->_request);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user