Changeset 5921 for trunk/setup
- Timestamp:
- 04/11/12 17:21:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/setup/manageheader.php
r3991 r5921 31 31 */ 32 32 $realpath = realpath('..'); 33 if(! ereg('^' . $_SERVER['DOCUMENT_ROOT'],$realpath))33 if(!preg_match("/^$_SERVER['DOCUMENT_ROOT']/",$realpath)) 34 34 { 35 35 if(PHP_OS == 'Windows')
Note: See TracChangeset
for help on using the changeset viewer.