Skip to content
Browse files

Merge pull request #5 from duggan/master

Check open_basedir so free apps don't flip out.
  • Loading branch information...
2 parents 59a9fbe + bc2a487 commit faddf5be388f4447597f3ed564a5f8b8cd6044ab Jonathan Cremin committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/index.php
View
2 public/index.php
@@ -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 faddf5b

Please sign in to comment.
Something went wrong with that request. Please try again.