summaryrefslogtreecommitdiff
path: root/beta_accents/app/include/tools.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'beta_accents/app/include/tools.inc.php')
-rw-r--r--beta_accents/app/include/tools.inc.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/beta_accents/app/include/tools.inc.php b/beta_accents/app/include/tools.inc.php
deleted file mode 100644
index bf75d1f..0000000
--- a/beta_accents/app/include/tools.inc.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-function addslashes_if_needed($texte)
-{
- if(get_magic_quotes_gpc() == 0)
- {
- return addslashes($texte);
- }
- else
- {
- return $texte;
- }
-}
-
-function stripslashes_if_needed($texte)
-{
- if(get_magic_quotes_gpc() != 0)
- {
- return stripslashes($texte);
- }
- else
- {
- return $texte;
- }
-}
-?> \ No newline at end of file