aboutsummaryrefslogtreecommitdiff
path: root/app/views/index.view.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-06-19 03:36:15 -0400
committerThedro Neely <thedroneely@gmail.com>2020-06-19 04:32:28 -0400
commita3fa11046d7d5796da3d56df9522bff9d2eda9c2 (patch)
tree82e0388c2635e70eb01e9dd25d5233d88bb162f0 /app/views/index.view.php
parent15323bfea57229fd6d35b82fad06f21571ec1138 (diff)
downloadthedroneely.com-a3fa11046d7d5796da3d56df9522bff9d2eda9c2.tar.gz
thedroneely.com-a3fa11046d7d5796da3d56df9522bff9d2eda9c2.tar.bz2
thedroneely.com-a3fa11046d7d5796da3d56df9522bff9d2eda9c2.zip
generators: Bundle quotes using fortune
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r--app/views/index.view.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/index.view.php b/app/views/index.view.php
index 3c22611..ac41734 100644
--- a/app/views/index.view.php
+++ b/app/views/index.view.php
@@ -48,8 +48,7 @@
<span class="quote marginnote leftnote">
<span class="has-text-weight-bold has-margin-bottom-sm is-block">Random Quote</span>
- <?php $quote = shell_exec('fortune quotes'); ?>
- <?php echo $quote; ?>
+ <?php echo shell_exec('fortune ' . dirname($_SERVER['DOCUMENT_ROOT']) . '/generators/fortune/quotes.fortune'); ?>
</span>
</div>