Changeset 29 for trunk/client/modules.php
- Timestamp:
- Mar 17, 2010, 5:12:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules.php
r23 r29 213 213 $_SESSION['newtema']="$tema"; 214 214 } 215 216 if (preg_match("/%/i",$_SESSION['newtema'])) $_SESSION['newtema']="default"; // xss 217 if (isset($_SESSION['newtema'])) $tema=$_SESSION['newtema']; 218 215 if (isset($_SESSION['newtema'])) { 216 $tema=$_SESSION['newtema']; 217 if (preg_match("/%/i",$_SESSION['newtema'])) $_SESSION['newtema']="default"; // xss 218 } 219 219 $PHP_SELF=$_SERVER['PHP_SELF']; 220 220 $file=(isset($_GET['file'])) ? $_GET['file']:"index"; … … 223 223 $name=htmlentities($name); 224 224 $file=htmlentities($file); 225 $id_comune=intval($id_comune);225 #$id_comune=intval($id_comune); 226 226 227 227 $modpath = "modules/$name/$file.php";
Note:
See TracChangeset
for help on using the changeset viewer.