Skip to content

Loading…

Check for Storage/S3FS #3

Merged
merged 1 commit into from

2 participants

@duggan

No description provided.

Ross Duggan Storage test 497167f
@kudos kudos merged commit 15c9d65 into orchestra-io:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 6, 2012
  1. Storage test

    Ross Duggan committed
Showing with 6 additions and 1 deletion.
  1. +6 −1 public/index.php
View
7 public/index.php
@@ -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
Something went wrong with that request. Please try again.