
06-01-2008, 11:33
|
|
|
|
חבר מתאריך: 25.10.01
הודעות: 744
|
|
|
ממ
כנראה שהבעיה נובעת מבעיה בפונקציה הבאה, אתם רואים איזה משהו לא תקין?
קוד PHP:
protected function plugin($plug_name, $m) { if(file_exists(TEMPLATE_PLUGIN_DIR."/{$plug_name}.plugin.php")) { include_once(TEMPLATE_PLUGIN_DIR."/{$plug_name}.plugin.php"); if($this->plug[$plug_name]) { if(is_object($this->plug[$plug_name])) $this->plug[$plug_name]->run($m); else parent::error_msg(5); } else { if(class_exists($plug_name)) { $this->plug[$plug_name] = new $plug_name; if(is_object($this->plug[$plug_name])) $this->plug[$plug_name]->run($m); else parent::error_msg(5); } else parent::error_msg(4); } } else parent::error_msg(3); }
נערך לאחרונה ע"י נזק בתאריך 06-01-2008 בשעה 11:42.
|