From 097a592dd6a39028ca4132d6811e0c64557bcebd Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 20 Nov 2013 12:49:42 +0100 Subject: [PATCH] Log in a dedicated file --- root/etc/e-smith/templates/etc/dl.php/40Logs | 2 +- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates/etc/dl.php/40Logs b/root/etc/e-smith/templates/etc/dl.php/40Logs index 0ce861e..ff46883 100644 --- a/root/etc/e-smith/templates/etc/dl.php/40Logs +++ b/root/etc/e-smith/templates/etc/dl.php/40Logs @@ -1 +1 @@ -$logFile = "dl_ticket"; +$logFile = "/var/log/dl.log"; diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl index 28dfe78..0a13c01 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl @@ -30,7 +30,7 @@ $alias AllowOverride Limit AddType application/x-httpd-php .php - php_admin_value open_basedir /usr/share/dl:/etc/dl.php:/var/lib/dl + php_admin_value open_basedir /usr/share/dl:/etc/dl.php:/var/lib/dl:/var/log/dl.log php_admin_flag file_uploads On php_admin_flag magic_quotes Off php_admin_flag magic_quotes_gpc Off