"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/db_sqlite.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

db_sqlite.php  (mybb_1822):db_sqlite.php  (mybb_1823)
skipping to change at line 887 skipping to change at line 887
} }
/** /**
* Escape a string used within a like command. * Escape a string used within a like command.
* *
* @param string $string The string to be escaped. * @param string $string The string to be escaped.
* @return string The escaped string. * @return string The escaped string.
*/ */
function escape_string_like($string) function escape_string_like($string)
{ {
return $this->escape_string(str_replace(array('%', '_') , array(' \\%' , '\\_') , $string)); return $this->escape_string(str_replace(array('\\', '%', '_') , a rray('\\\\', '\\%' , '\\_') , $string));
} }
/** /**
* Gets the current version of SQLLite. * Gets the current version of SQLLite.
* *
* @return string Version of MySQL. * @return string Version of MySQL.
*/ */
function get_version() function get_version()
{ {
if($this->version) if($this->version)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)