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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index.view.php b/app/views/index.view.php
index bef54f5..8bfa2c1 100644
--- a/app/views/index.view.php
+++ b/app/views/index.view.php
@@ -8,7 +8,7 @@
<home-page>
<article>
- <h1>Web <em>Developer </em></h1>
+ <h1>Web <em>Developer</em></h1>
<h2>In it for the long haul</h2>
@@ -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>