Commit 1f000980 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

trim slashes from paths in openbasedir to make sure they are string-comparable

parent e1e406e3
......@@ -23,6 +23,6 @@
SetHandler This_is_a_Drupal_security_line_do_not_remove
</Directory>
php_admin_value open_basedir /tmp:<?php print $publish_path ?>/:<?php print $config_path ?>/includes/:/usr/share/php/
php_admin_value open_basedir /tmp:<?php print rtrim($publish_path, '/') ?>/:<?php print rtrim($config_path, '/') ?>/includes/:/usr/share/php/
</VirtualHost>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment