removed reliance on register globals
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
if (!isset($themename)) {
|
||||
$themename = NULL;
|
||||
}
|
||||
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
if (!isset($themename)) {
|
||||
$themename = NULL;
|
||||
}
|
||||
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
if (!isset($themename)) {
|
||||
$themename = NULL;
|
||||
}
|
||||
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
if (!isset($themename)) {
|
||||
$themename = NULL;
|
||||
}
|
||||
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
if (!isset($themename)) {
|
||||
$themename = NULL;
|
||||
}
|
||||
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
|
||||
if (!isset($themename)) {
|
||||
$themename = NULL;
|
||||
}
|
||||
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user