36 |
+ my $autoprepend = $pool->prop('AutoPrependFile') || 'enabled'; |
+ my $autoprepend = $pool->prop('AutoPrependFile') || 'enabled'; |
37 |
|
|
38 |
# Format vars |
# Format vars |
39 |
+ my $autoprep = ( $autoprepend eq "disabled") ? "" : "/usr/share/pear/auth_translation.php"; |
+ my $autoprep = ( $autoprepend eq "disabled") ? "" : "/usr/share/php/auth_translation.php"; |
40 |
+ my $autoprepath = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/"; |
+ my $autoprepath = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/"; |
41 |
$file_upload = ($file_upload =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
$file_upload = ($file_upload =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
42 |
$allow_url_fopen = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
$allow_url_fopen = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
67 |
+ my $autoprepend = $ibay->prop('PHPAutoPrependFile') || 'enabled'; |
+ my $autoprepend = $ibay->prop('PHPAutoPrependFile') || 'enabled'; |
68 |
+ |
+ |
69 |
+ # Format vars |
+ # Format vars |
70 |
+ my $autoprep = ( $autoprepend eq "disabled") ? "" : "/usr/share/pear/auth_translation.php"; |
+ my $autoprep = ( $autoprepend eq "disabled") ? "" : "/usr/share/php/auth_translation.php"; |
71 |
+ my $autoprepath = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/"; |
+ my $autoprepath = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/"; |
72 |
$file_upload = ($file_upload =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
$file_upload = ($file_upload =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
73 |
$allow_url_fopen = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
$allow_url_fopen = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off'; |
101 |
php_admin_flag[file_upload] = { $FileUpload } |
php_admin_flag[file_upload] = { $FileUpload } |
102 |
php_admin_flag[session.cookie_httponly] = on |
php_admin_flag[session.cookie_httponly] = on |
103 |
php_admin_flag[allow_url_include] = off |
php_admin_flag[allow_url_include] = off |
104 |
+php_admin_value[auto_prepend_file] = /usr/share/pear/auth_translation.php |
+php_admin_value[auto_prepend_file] = /usr/share/php/auth_translation.php |
105 |
php_admin_value[session.save_handler] = files |
php_admin_value[session.save_handler] = files |