Permalink
Browse files

Merge pull request #3 from duggan/master

Check for Storage/S3FS
  • Loading branch information...
Jonathan Cremin
Jonathan Cremin committed Sep 19, 2012
2 parents b9c5618 + 497167f commit 15c9d655bb4a20d717d22502ebf7dba5bb881e13
Showing with 6 additions and 1 deletion.
  1. +6 −1 public/index.php
View
@@ -27,7 +27,12 @@
echo "<p>The app IP is: " . $_SERVER['SERVER_ADDR'] . "<br/></p>";
echo "<p>The client IP is : " . $_SERVER['HTTP_X_FORWARDED_FOR'] . "<br/></p>";
echo "<p>Temp dir available to your app is: " . sys_get_temp_dir() . "</p>";
- ?>
+ ?>
+ <?php
+ if (is_dir("/mnt/storage/s3")) {
+ echo "<p>Elastic storage available at: <code>/mnt/storage/s3</code></p>";
+ }
+ ?>
</p>
<h2>Code from above</h2>
<?php

0 comments on commit 15c9d65

Please sign in to comment.