summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-03-06 19:31:59 +0100
committerandi <andi@splitbrain.org>2005-03-06 19:31:59 +0100
commit6b13307fb447795714d01cdc029d6ed7ac087cf3 (patch)
treecd80885d8e86ff4d4044df73b7320f9ad4bdc49d /inc/common.php
parent86770f3ea6c33f97b6755d11ed9700e756ef6e88 (diff)
downloadrpg-6b13307fb447795714d01cdc029d6ed7ac087cf3.tar.gz
rpg-6b13307fb447795714d01cdc029d6ed7ac087cf3.tar.bz2
template support (incomplete, maybe broken)
darcs-hash:20050306183159-9977f-22dbb69831b5fa2e28bbf62448c65053d96a2cb9.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index b06896f4d..482bb1e2d 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -369,7 +369,6 @@ function cleanID($id){
if($conf['deaccent']) $id = utf8_deaccent($id,-1);
//remove specials
- //$id = preg_replace('#[\x00-\x20 ¡!"§$%&()\[\]{}¿\\?`\'\#~*+=,<>\|^°@µ¹²³¼½¬]#u','_',$id);
$id = utf8_stripspecials($id,'_','_:.-');
//clean up
@@ -815,6 +814,7 @@ function download($url,$file){
/**
* extracts the query from a google referer
*
+ * @todo should be more generic and support yahoo et al
* @author Andreas Gohr <andi@splitbrain.org>
*/
function getGoogleQuery(){