index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/mysql.php | 5 |
diff --git a/lib/mysql.php b/lib/mysql.php index cd21eaa..33ab4f0 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -60,3 +60,8 @@ function show_warning_on_offline_slave() { print "<div><font color=\"ff0000\">The replication slave is currently not running. The database might be outdated.</font></div>\n"; } } + +function mysql_url_encode($input) { + return + "REPLACE(" . $input . ",\"+\",\"%2B\")"; +} |