Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Installation support «   problem with install «  

Comment: problem with install

<< Previous Next >>
Maybe you could patch the function in shared/sql.php as follows:

/**
 * escape a string
 *
 * @param string to be escaped
 * @return string safe version
 */
function &escape($text) {
    if(
is_callable('mysql_real_escape_string'))
        
$output mysql_real_escape_string($text);
    else
        
$output mysql_escape_string($text);
    return 
$output;
}

by Bernard on May 11 2007