aboutsummaryrefslogtreecommitdiff
path: root/app/views/index.view.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r--app/views/index.view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index.view.php b/app/views/index.view.php
index bef54f5..1331140 100644
--- a/app/views/index.view.php
+++ b/app/views/index.view.php
@@ -30,7 +30,7 @@
<fortune-quote>
<margin-note left>
<b>Random Quote</b>
- <?php echo shell_exec('fortune ' . dirname($_SERVER['DOCUMENT_ROOT']) . '/generators/fortune/quotes.fortune'); ?>
+ <?php echo (new Fortune)->random(); ?>
</margin-note>
</fortune-quote>