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

@@ -13,7 +13,7 @@ require_once './libraries/common.inc.php';
/**
* Does the common work
*/
$js_to_run = 'functions.js';
$GLOBALS['js_include'][] = 'functions.js';
require_once './libraries/server_common.inc.php';
require_once './libraries/sql_query_form.lib.php';