Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #5 from duggan/master

Check open_basedir so free apps don't flip out.
  • Loading branch information...
commit faddf5be388f4447597f3ed564a5f8b8cd6044ab 2 parents 59a9fbe + bc2a487
Jonathan Cremin authored October 23, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  public/index.php
2  public/index.php
@@ -29,7 +29,7 @@
29 29
 					echo "<p>Temp dir available to your app is: " . sys_get_temp_dir() . "</p>";
30 30
                 ?>
31 31
                 <?php
32  
-                    if (is_dir("/mnt/storage/s3")) {
  32
+                    if (! ini_get('open_basedir') && is_dir("/mnt/storage/s3")) {
33 33
                         echo "<p>Elastic storage available at: <code>/mnt/storage/s3</code></p>";
34 34
                     }
35 35
                 ?>

0 notes on commit faddf5b

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