Show
Ignore:
Timestamp:
07/22/06 15:43:22 (2 years ago)
Author:
cfriesen
Message:

Hopefully this fixes that exploit.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/install.php

    r1499 r1517  
    253253} 
    254254 
    255 if(file_exists(DBINIT) && empty($_POST['process'])) { 
     255if(file_exists(DBINIT)) { 
    256256    print("The dbinit.php file already exists in the Gregarius directory! Please remove it if you would like to use this installer."); 
    257 } else if(1 == $_POST['process']) { 
     257} else if(!empty($_POST['process']) && 1 == $_POST['process']) { 
    258258        if(empty($_POST['server']) || 
    259259            empty($_POST['database']) ||