removed reliance on register globals

This commit is contained in:
skodak
2006-05-23 09:10:23 +00:00
parent 2e311d898c
commit 6ebca3c77e
6 changed files with 18 additions and 30 deletions
+3 -5
View File
@@ -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);
///
+3 -5
View File
@@ -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);
///
+3 -5
View File
@@ -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);
///
+3 -5
View File
@@ -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);
///
+3 -5
View File
@@ -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);
///
+3 -5
View File
@@ -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);
///