Skip to content
  • Lukas Fleischer's avatar
    Wrap mysql_real_escape_string() in a function · 10b6a8ff
    Lukas Fleischer authored
    
    
    Wrap mysql_real_escape_string() in a wrapper function db_escape_string()
    to ease porting to other databases, and as another step to pulling more
    of the database code into a central location.
    
    This is a rebased version of a patch by elij submitted about half a year
    ago.
    
    Thanks-to: elij <elij.mx@gmail.com>
    Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
    
    Conflicts:
    
    	web/lib/aur.inc.php
    10b6a8ff