mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 02:00:14 +02:00
Testing of loading all javascript in the footer. Add the following to e107_config.php to test: define('e_DEBUG_JS_FOOTER', true);
This commit is contained in:
@@ -280,6 +280,14 @@ if ((ADMIN == true || $pref['developer']) && count($error_handler->errors) && $e
|
||||
//
|
||||
// E Last themed footer code, usually JS
|
||||
//
|
||||
|
||||
if(deftrue('e_DEBUG_JS_FOOTER'))
|
||||
{
|
||||
renderAllJavascript();
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (function_exists('theme_foot'))
|
||||
{
|
||||
echo theme_foot();
|
||||
|
Reference in New Issue
Block a user