From: Thierry Parmentelat Date: Thu, 28 Feb 2013 10:18:19 +0000 (+0100) Subject: open up /var/log/bm to php so upload-bmlog.php works again X-Git-Tag: myplc-5.2-1~1 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=b7265c4c22b97a609320b65b3f3c07d7daad03bb open up /var/log/bm to php so upload-bmlog.php works again --- diff --git a/plc.d/httpd b/plc.d/httpd index e6b409d..48d340e 100755 --- a/plc.d/httpd +++ b/plc.d/httpd @@ -57,7 +57,7 @@ case "$1" in sed -i -e "s@[;]*include_path = \"\.:.*\"@include_path = \"$include_path\"@" $php_ini # Set open_basedir so as to avoid leaks - open_basedir="$DocumentRoot:/etc/planetlab/php:/usr/share/plc_api/php:/var/log/myslice:/var/tmp/bootmedium:/tmp" + open_basedir="$DocumentRoot:/etc/planetlab/php:/usr/share/plc_api/php:/var/log/myslice:/var/tmp/bootmedium:/var/log/bm:/tmp" sed -i -e "s@[;]*open_basedir =.*@open_basedir = \"$open_basedir\"@" $php_ini # for php-5.3 under fedora12, otherwise issues tons of warning messages