phpBMS

Show
Ignore:
Timestamp:
05/05/09 12:26:06 (3 years ago)
Author:
nate
Message:
  • removed widget's default import
  • For new tabledefs, the import command is disabled by default
  • Products should now use the general import page.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/include/session.php

    r485 r515  
    515515                        $error = new appError(-353,"You must remove the install directory and all modules' install directories before phpBMS can run.","Main Install Directory Present",true,true,true,$errorFormat); 
    516516 
    517                 $thedir= @ opendir("modules"); 
    518  
    519                 while($entry = readdir($thedir)){ 
    520  
    521                         if($entry != "." && $entry != ".." && $entry != "base" && $entry != "sample" && is_dir("modules/".$entry)){ 
    522  
    523                                 if(file_exists("modules/".$entry."/install") && is_dir("modules/".$entry."/install")){ 
    524  
    525                                         $error = new appError(-354,"You must remove the install directory and all modules' install directories before phpBMS can run.","Module '".$entry."' Install Directory Present",true,true,true,$errorFormat); 
     517                if(file_exists("modules") && is_dir("modules")){ 
     518 
     519                        $thedir = @ opendir("modules"); 
     520 
     521                        while($entry = readdir($thedir)){ 
     522 
     523                                if($entry != "." && $entry != ".." && $entry != "base" && $entry != "sample" && is_dir("modules/".$entry)){ 
     524 
     525                                        if(file_exists("modules/".$entry."/install") && is_dir("modules/".$entry."/install")){ 
     526 
     527                                                $error = new appError(-354,"You must remove the install directory and all modules' install directories before phpBMS can run.","Module '".$entry."' Install Directory Present",true,true,true,$errorFormat); 
     528 
     529                                        }//endif 
    526530 
    527531                                }//endif 
    528532 
    529                         }//endif 
     533                        }//end while 
    530534 
    531535                }//end if 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.