diff options
author | Thedro Neely <thedroneely@gmail.com> | 2023-06-05 18:03:11 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2023-06-05 18:03:11 -0400 |
commit | 988eb9b2c6b560c4fa732c6fc18a8eb23e6422a9 (patch) | |
tree | 792acd840ce49e93eadd72aed19048c3e25564f4 /app/views/index.view.php | |
parent | 462b85a04a18b106a7fe6db9e8b7ec97e6a2c17b (diff) | |
download | thedroneely.com-988eb9b2c6b560c4fa732c6fc18a8eb23e6422a9.tar.gz thedroneely.com-988eb9b2c6b560c4fa732c6fc18a8eb23e6422a9.tar.bz2 thedroneely.com-988eb9b2c6b560c4fa732c6fc18a8eb23e6422a9.zip |
generators/fortune -> app/model/Fortune.php
Much more efficient
Diffstat (limited to 'app/views/index.view.php')
-rw-r--r-- | app/views/index.view.php | 2 |
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> |