From 739ea11ed19a5d1c5d669c009516b834224aa602 Mon Sep 17 00:00:00 2001 From: hecht Date: Mon, 5 Mar 2012 18:56:06 +0000 Subject: [PATCH] just use the methods of the not duplicated classes --- cronjob/generic_turnier.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cronjob/generic_turnier.php b/cronjob/generic_turnier.php index 2587727..fdd9d76 100644 --- a/cronjob/generic_turnier.php +++ b/cronjob/generic_turnier.php @@ -35,8 +35,13 @@ if ($argv) { //set_time_limit(0); -include "db.php"; -include "inclu/char.inc.php"; +//include "db.php"; +//include "inclu/char.inc.php"; +include('db.php'); +include('path.inc.php'); +include_once(ROOT_PATH.'/include/char.inc.php'); + + $name = $_GET['name']; // Name des Turniers (benötigt) $anzahl = $_GET['anzahl']; // Anzahl (benötigt)