summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/engelsystem_provider.php1
-rw-r--r--includes/sys_counter.php11
2 files changed, 0 insertions, 12 deletions
diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php
index 1fe06e77..2add641a 100644
--- a/includes/engelsystem_provider.php
+++ b/includes/engelsystem_provider.php
@@ -5,7 +5,6 @@
require_once realpath(__DIR__ . '/../includes/mysqli_provider.php');
require_once realpath(__DIR__ . '/../includes/sys_auth.php');
-require_once realpath(__DIR__ . '/../includes/sys_counter.php');
require_once realpath(__DIR__ . '/../includes/sys_log.php');
require_once realpath(__DIR__ . '/../includes/sys_menu.php');
require_once realpath(__DIR__ . '/../includes/sys_page.php');
diff --git a/includes/sys_counter.php b/includes/sys_counter.php
deleted file mode 100644
index 40110165..00000000
--- a/includes/sys_counter.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-function counter() {
- global $p;
-
- if (sql_num_query("SELECT `Anz` FROM `Counter` WHERE `URL`='" . sql_escape($p) . "'") == 0)
- sql_query("INSERT INTO `Counter` ( `URL` , `Anz` ) VALUES ('" . sql_escape($p) . "', '1');");
- else
- sql_query("UPDATE `Counter` SET `Anz` = `Anz` + 1 WHERE `URL` = '" . sql_escape($p) . "' LIMIT 1 ;");
-}
-?>