1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Some Image fixes

This commit is contained in:
Cameron
2012-12-08 12:50:55 -08:00
parent f0aad0d772
commit 7b898e4d6d
2 changed files with 46 additions and 56 deletions

View File

@@ -1991,7 +1991,11 @@ class e107plugin
if (is_readable($setup_file))
{
$mes->add("Found setup file <b>".$path."_setup.php</b> ", E_MESSAGE_DEBUG);
if(e_PAGE == 'e107_update.php')
{
$mes->add("Found setup file <b>".$path."_setup.php</b> ", E_MESSAGE_DEBUG);
}
include_once($setup_file);
@@ -2002,12 +2006,18 @@ class e107plugin
if (method_exists($obj, $method_name))
{
$mes->add("Executing setup function <b>".$class_name." :: ".$method_name."()</b>", E_MESSAGE_DEBUG);
if(e_PAGE == 'e107_update.php')
{
$mes->add("Executing setup function <b>".$class_name." :: ".$method_name."()</b>", E_MESSAGE_DEBUG);
}
return call_user_func(array($obj, $method_name), $this);
}
else
{
$mes->add("Setup function ".$class_name." :: ".$method_name."() NOT found.", E_MESSAGE_DEBUG);
if(e_PAGE == 'e107_update.php')
{
$mes->add("Setup function ".$class_name." :: ".$method_name."() NOT found.", E_MESSAGE_DEBUG);
}
return FALSE;
}
}