]> dev.renevier.net Git - syp.git/blob - inc/utils.php
initial commit
[syp.git] / inc / utils.php
1 <?php
2 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
3    license. */
4
5 function unquote($gpc_str) {
6    if (!isset ($gpc_str)) {
7        return $gpc_str;
8    }
9    if (get_magic_quotes_gpc ()) {
10         return stripslashes ($gpc_str);
11    } else {
12        return $gpc_str;
13    }
14 }
15 ?>