Changes

From SME Server
Jump to navigationJump to search
Line 139: Line 139:  
     $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/);
 
     $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/);
 
     my $open_basedir= $foo{PHPBaseDir} || '';
 
     my $open_basedir= $foo{PHPBaseDir} || '';
     $open_basedir = "/opt/foo/html/:/var/log/foo/:/var/lib/php/cacti:$open_basedir";
+
     $open_basedir = "/opt/foo/html/:/var/log/foo/:/var/lib/php/foo:$open_basedir";
 
     my $id = 'cacti';
 
     my $id = 'cacti';
 
     my $max_children = $foo{'PHPmaxChildren'} || 20;
 
     my $max_children = $foo{'PHPmaxChildren'} || 20;
Line 181: Line 181:  
php_admin_value[open_basedir] = $open_basedir
 
php_admin_value[open_basedir] = $open_basedir
 
php_admin_flag[allow_url_fopen] = on
 
php_admin_flag[allow_url_fopen] = on
php_admin_flag[file_upload] = on
+
php_admin_flag[file_uploads] = on
 
php_admin_flag[session.cookie_httponly] = on
 
php_admin_flag[session.cookie_httponly] = on
 
php_admin_flag[allow_url_include] = off
 
php_admin_flag[allow_url_include] = off
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu