From f7eb4451b683d520225739f36df7064a6b0179e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Fr=F6hlich?= Date: Mon, 10 Feb 2014 21:39:11 +0100 Subject: [PATCH 1/2] Adjusted to production server paths --- functions/UploadResults.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/UploadResults.pl b/functions/UploadResults.pl index d760f8e..1514219 100755 --- a/functions/UploadResults.pl +++ b/functions/UploadResults.pl @@ -8,7 +8,7 @@ my $KeyFile = "key_200808.pem"; my $CAfile = "CAcert_roots.pem"; my $TargetHost="secure.cacert.org"; my $TargetScript="cats/cats_import.php"; -my $ConnectInc="/var/www/cats1.it-sls.de/training/public/includes/db_connect.inc"; +my $ConnectInc="/home/cats/public_html/includes/db_connect.inc"; sub url_encode($) { From 073c8756029f667b2dc146b22bdb67c6ba2c7f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=A4ngel?= Date: Tue, 30 Jun 2015 22:48:13 +0200 Subject: [PATCH 2/2] bug 1098: removed "/" from template file. This needs to be replaced on the productive system as well. --- includes/db_connect.inc.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/db_connect.inc.template b/includes/db_connect.inc.template index dab91a0..2e233e1 100755 --- a/includes/db_connect.inc.template +++ b/includes/db_connect.inc.template @@ -2,7 +2,7 @@ $_SESSION['_config']['normalhostname'] = "HOSTNAME"; $_SESSION['_config']['securehostname'] = "HOSTNAME"; -$_SESSION['_config']['folder'] = "/"; +$_SESSION['_config']['folder'] = ""; // Variablen intialisieren für MySQL // Do not change variable names, other scripts are parsing this file for them! @@ -19,5 +19,5 @@ $database="DATABASE"; // Wählt DB aus oder gibt Meldung aus mysql_select_db("$database") or die - ("Die Datenbank existiert nicht"); + ("Die Datenbank existiert nicht"); ?>