Show
Ignore:
Timestamp:
11/11/04 11:01:55 (4 years ago)
Author:
gerd
Message:

Added Proxy-support as requested in Bug#85

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/patSession.php

    r25 r27  
    1717 */                                                                      
    1818define( 'PATSESSION_ERROR_NOT_ACTIVE', 1 ); 
     19 
     20/** 
     21 * error definition: could not load driver 
     22 */                                                                      
     23define( 'PATSESSION_ERROR_DRIVER_NOT_FOUND', 2 ); 
    1924 
    2025/** 
     
    136141                                { 
    137142                                        // search for files 
    138                                         if( $entry === '.' || $entry === '..' || !is_file( $includePath . '/' . $entry ) ) 
     143                                        if( $entry[0] === '.' || !is_file( $includePath . '/' . $entry ) ) 
    139144                                        { 
    140145                                                continue; 
     
    162167                 
    163168                        // create error!  
    164                         return patErrorManager::raiseError( 'patSession:factory:1'
     169                        return patErrorManager::raiseError( 'patSession:' . PATSESSION_ERROR_DRIVER_NOT_FOUND
    165170                                                        'Storage driver not found!', 
    166171                                                        'Driver "'. $storage .'" not found - available drivers: "'. implode( '", "', $available ) .'"'