mirror of
https://github.com/e107inc/e107.git
synced 2025-02-06 06:59:07 +01:00
API typo
This commit is contained in:
parent
c5e17a5fd9
commit
134a01f25c
10
class2.php
10
class2.php
@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||||
| $Revision: 1.71 $
|
| $Revision: 1.72 $
|
||||||
| $Date: 2008-11-24 18:06:03 $
|
| $Date: 2008-11-24 20:18:59 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: secretr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
@ -224,8 +224,8 @@ e107_require_once(e_HANDLER.'e107Url.php');
|
|||||||
$e107->url = new eURL;
|
$e107->url = new eURL;
|
||||||
|
|
||||||
e107_require_once(e_HANDLER.'e_parse_class.php');
|
e107_require_once(e_HANDLER.'e_parse_class.php');
|
||||||
$tp = new e_parse;
|
$e107->tp = new e_parse;
|
||||||
$e107->tp = &$tp;
|
$tp = &$e107->tp;
|
||||||
|
|
||||||
//define("e_QUERY", $matches[2]);
|
//define("e_QUERY", $matches[2]);
|
||||||
//define("e_QUERY", $_SERVER['QUERY_STRING']);
|
//define("e_QUERY", $_SERVER['QUERY_STRING']);
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $
|
||||||
| $Revision: 1.22 $
|
| $Revision: 1.23 $
|
||||||
| $Date: 2008-11-24 18:06:03 $
|
| $Date: 2008-11-24 20:18:24 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: secretr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -44,12 +44,12 @@ class e107
|
|||||||
*/
|
*/
|
||||||
function e107($e107_paths, $e107_root_path)
|
function e107($e107_paths, $e107_root_path)
|
||||||
{
|
{
|
||||||
if(!defsettrue('e107_php4_check'))
|
if(defsettrue('e107_php4_check'))
|
||||||
{
|
{
|
||||||
echo ('Fatal error! You are not allowed to direct instantinate an object for singleton class! Please use e107::getInstance()');
|
echo ('Fatal error! You are not allowed to direct instantinate an object for singleton class! Please use e107::getInstance()');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
$this->_init($e107_paths, $e107_root_path);
|
$this->_init($e107_paths, $e107_root_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
function _init($e107_paths, $e107_root_path)
|
function _init($e107_paths, $e107_root_path)
|
||||||
@ -70,8 +70,8 @@ class e107
|
|||||||
|
|
||||||
if(!$instance)
|
if(!$instance)
|
||||||
{
|
{
|
||||||
define('e107_php4_check', true);
|
$instance[0] = new e107();
|
||||||
$instance[0] = new e107();
|
define('e107_php4_check', true);
|
||||||
}
|
}
|
||||||
return $instance[0];
|
return $instance[0];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user