From c6e7f23f82d1ba7a6fc4cd5158a7b63d48e27ce3 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 23 May 2017 13:42:13 +0200 Subject: [PATCH] Add /usr/share/php in open_basedir --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Pydio | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Pydio b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Pydio index 473461c..82c4492 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Pydio +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Pydio @@ -23,7 +23,7 @@ Alias /ajxppub /var/lib/pydio/public Options None AddType application/x-httpd-php .php - php_admin_value open_basedir /usr/share/pydio:/var/lib/pydio:/var/log/pydio:/etc/pydio:/var/cache/pydio:/usr/share/pear/:/home/e-smith/files/shares$homedir + php_admin_value open_basedir /usr/share/pydio:/var/lib/pydio:/var/log/pydio:/etc/pydio:/var/cache/pydio:/usr/share/pear/:/usr/share/php/:/home/e-smith/files/shares$homedir Order deny,allow Allow from all @@ -45,7 +45,7 @@ $alias AddType application/x-httpd-php .php - php_admin_value open_basedir /usr/share/pydio:/var/lib/pydio:/var/log/pydio:/etc/pydio:/var/cache/pydio:/usr/share/pear/:/home/e-smith/files/shares$homedir + php_admin_value open_basedir /usr/share/pydio:/var/lib/pydio:/var/log/pydio:/etc/pydio:/var/cache/pydio:/usr/share/pear/:/usr/share/php/:/home/e-smith/files/shares$homedir php_admin_value memory_limit 100M php_admin_value upload_max_filesize $maxsize php_admin_value post_max_size $maxsize