use array to define included JavaScript libraries

This commit is contained in:
Sebastian Mendel
2007-10-04 09:22:50 +00:00
parent e9f1ed82c6
commit 40b3ce9fd1
22 changed files with 74 additions and 108 deletions

View File

@@ -10,7 +10,7 @@
* Get the variables sent or posted to this script and a core script
*/
require_once './libraries/common.inc.php';
$js_to_run = 'functions.js';
$GLOBALS['js_include'][] = 'functions.js';
// default values
$GLOBALS['reload'] = false;