1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Fix for multiple 0.7 -> 0.8 upgrade issues.

This commit is contained in:
CaMer0n
2009-10-22 13:00:37 +00:00
parent 8ddd74fbf5
commit b923520bbf
8 changed files with 68 additions and 46 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/db_debug_class.php,v $
| $Revision: 1.15 $
| $Date: 2009-10-22 04:14:35 $
| $Revision: 1.16 $
| $Date: 2009-10-22 13:00:10 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -598,7 +598,7 @@ class e107_db_debug {
//
function e107_debug_shutdown()
{
global $error_handler,$e107_Clean_Exit,$In_e107_Footer,$ADMIN_DIRECTORY,$THEME_DIRECTORY;
global $error_handler,$e107_Clean_Exit,$In_e107_Footer,$ADMIN_DIRECTORY;
if (isset($e107_Clean_Exit)) return;
if (!isset($In_e107_Footer))
@@ -609,9 +609,7 @@ global $error_handler,$e107_Clean_Exit,$In_e107_Footer,$ADMIN_DIRECTORY,$THEME_D
require_once($filewanted);
} else if (defset('USER_AREA'))
{
$filewanted=realpath(dirname(__FILE__)."/../".$THEME_DIRECTORY.'templates/')."/footer_default.php"; // FOOTERF;
// Works better than FOOTERF for e107_files/e_jslib.php.
$filewanted=realpath(dirname(__FILE__)).'/../'.FOOTERF;
require_once($filewanted);
}
}