Permalink
Browse files

Check open_basedir

  • Loading branch information...
1 parent 59a9fbe commit bc2a487d06f2a446129630682d4503a986e6dcbb Ross Duggan committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/index.php
View
@@ -29,7 +29,7 @@
echo "<p>Temp dir available to your app is: " . sys_get_temp_dir() . "</p>";
?>
<?php
- if (is_dir("/mnt/storage/s3")) {
+ if (! ini_get('open_basedir') && is_dir("/mnt/storage/s3")) {
echo "<p>Elastic storage available at: <code>/mnt/storage/s3</code></p>";
}
?>

0 comments on commit bc2a487

Please sign in to comment.