diff options
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r-- | app/views/index.view.php | 3 |
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> |