HomeHelpTrac

Changeset 15339 for trunk/simg


Ignore:
Timestamp:
07/13/11 05:48:55 (11 months ago)
Author:
Anton Lesnikov
Message:

Get rid of $dir and $GLOBALSdir? global variables.

Location:
trunk/simg
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/simg/simg.php

    r15211 r15339  
    2929$oSession->setValue('strSec', $hashtext); 
    3030 
    31 if ( produceSecurityImage( $textstr, $hashtext ) != IMAGE_ERROR_SUCCESS ) 
    32 { 
     31if ( produceSecurityImage( $textstr, $hashtext ) != IMAGE_ERROR_SUCCESS ) { 
    3332    // output header 
    3433    //header( "Content-Type: image/gif" ); 
     
    4140 
    4241    // output error image 
    43     @readfile( $dir['profileImage'] . 'simg_error.gif' ); 
     42    @readfile(BxDolConfig::getInstance()->get('path_dynamic', 'simg') . 'simg_error.gif'); 
    4443} 
    4544 
    4645ob_end_flush(); 
    47 ?> 
Note: See TracChangeset for help on using the changeset viewer.