Changeset 2273
- Timestamp:
- 12/01/10 11:31:01 (18 months ago)
- Files:
-
- 1 modified
-
branches/1.5/libs/PageHandling.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/libs/PageHandling.php
r2272 r2273 174 174 if ($page) 175 175 { 176 $page = str_replace('..', '', $page) ); // prevents access outside the current folder176 $page = str_replace('..', '', $page); // prevents access outside the current folder 177 177 return rtrim($page, '/'); 178 178 } … … 267 267 } 268 268 269 $page = str_replace('..', '', $page) ); // prevents access outside the current folder269 $page = str_replace('..', '', $page); // prevents access outside the current folder 270 270 $page = $page . '.php'; 271 271