Changeset 5912 for trunk/listAdmin
- Timestamp:
- 04/11/12 12:04:21 (12 years ago)
- Location:
- trunk/listAdmin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/listAdmin/docs/manageheader.php
r3514 r5912 30 30 */ 31 31 $realpath = realpath('..'); 32 if(! ereg('^' . $_SERVER['DOCUMENT_ROOT'],$realpath))32 if(!preg_match('/^/' . $_SERVER['DOCUMENT_ROOT'],$realpath)) 33 33 { 34 34 if(PHP_OS == 'Windows') -
trunk/listAdmin/inc/sieve-php.lib.php
r3514 r5912 372 372 //So, if we see IMLEMENTATION in the first line, then we are done. 373 373 374 if( ereg("IMPLEMENTATION",$this->line))374 if(preg_match('/IMPLEMENTATION/',$this->line)) 375 375 { 376 376 //we're on the Cyrus V2 sieve server … … 767 767 //So, if we see IMLEMENTATION in the first line, then we are done. 768 768 769 if( ereg("IMPLEMENTATION",$this->line))769 if(preg_match('/IMPLEMENTATION/',$this->line)) 770 770 { 771 771 //we're on the Cyrus V2 sieve server
Note: See TracChangeset
for help on using the changeset viewer.