Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Check open_basedir so free apps don't flip out. #5

Merged
merged 1 commit into from

2 participants

@duggan

No description provided.

@kudos kudos merged commit faddf5b into orchestra-io:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2012
  1. Check open_basedir

    Ross Duggan authored
This page is out of date. Refresh to see the latest.
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>";
}
?>
Something went wrong with that request. Please try again.