Show
Ignore:
Timestamp:
01/21/10 15:31:55 (2 years ago)
Author:
gbastien
Message:

Corrected some one-liners:

  • Permission error when deleting user role (#689)
  • Patch by Steven Kurylo to remove white spaces from authenticator arguments (#612)
  • Search for stakeholders has now same case-sensitivity as the user's network (#662)
  • Corrected (#613) patch by Hélène Gauthier
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Mail.php

    r1424 r1438  
    368368         */ 
    369369        public function send() { 
    370             $phpmailerPath = 'lib/PHPMailer_v2.0.0/'; 
     370            $dir = new DirectoryIterator('lib'); 
     371            foreach ($dir as $fileinfo) { 
     372                if ($fileinfo->isDir() && (substr($fileinfo->getFilename(), 0, 9) == 'PHPMailer')) { 
     373                    $phpmailerPath = 'lib/' . $fileinfo->getFilename() . '/'; 
     374                } 
     375            } 
    371376            require_once ($phpmailerPath.'class.phpmailer.php'); 
    372377            require_once ($phpmailerPath.'class.smtp.php');