Permalink
Browse files

Storage test

  • Loading branch information...
1 parent b9c5618 commit 497167f2aaf3e9dd217cf408c55dec2fc0f46006 Ross Duggan committed Sep 6, 2012
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 497167f

Please sign in to comment.