1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 21:32:09 +02:00
This commit is contained in:
CaMer0n
2012-07-29 07:12:16 +00:00
parent 951665accd
commit 464814c3c3

View File

@@ -29,7 +29,7 @@ if (!defined('e107_INIT')) { exit; }
* *
* *
*/ */
//XXX IMPORTANT: // do not use e107 specific functions in this file - it may break secure_img_handler.
class override { class override {
protected $functions = array(); protected $functions = array();
@@ -106,7 +106,7 @@ class override {
} }
$tmp = (varset($this->functions[$override]) && strpos($this->functions[$override],"::")) ? explode("::",$this->functions[$override]) : $this->functions[$override]; $tmp = (isset($this->functions[$override]) && strpos($this->functions[$override],"::")) ? explode("::",$this->functions[$override]) : $this->functions[$override];
if(is_array($tmp) && class_exists($tmp[0])) if(is_array($tmp) && class_exists($tmp[0]))
{ {
$cl = new $tmp[0]; $cl = new $tmp[0];