navigation  interaction  search

 other resources

Changeset 388

Show
Ignore:
Timestamp:
05/07/08 12:30:58
Author:
brieb
Message:

Fixed phpverion checking problem.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/phpbms/include/session.php

    r384 r388  
    413413   } 
    414414   
    415    function html_entity_decode($string){ 
    416            return preg_replace_callback( 
    417                    '/&#([0-9]+);/u', 
    418                    'utf8_replaceEntity', 
    419                    $string 
    420            ); 
    421    }     
     415        if(!function_exists("mysql_real_escape_string")){ 
     416                function html_entity_decode($string){ 
     417                        return preg_replace_callback('/&#([0-9]+);/u','utf8_replaceEntity',$string); 
     418                }//end function 
     419        }//end if 
     420 
    422421}// end PHP<4.3 compatibility 
    423422 
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.