From bc65cc2af15720ca480a3c7c6bbae01d84841f71 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Thu, 9 Nov 2017 12:26:32 -0500 Subject: [PATCH] Revert to require_once Keeping these statements as they were. --- include/identity.php | 4 ++-- include/queue.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/identity.php b/include/identity.php index d8670537b8..8000d5f247 100644 --- a/include/identity.php +++ b/include/identity.php @@ -95,7 +95,7 @@ function profile_load(App $a, $nickname, $profile = 0, $profiledata = array()) $theme_info_file = "view/theme/" . current_theme() . "/theme.php"; if (file_exists($theme_info_file)) { - include_once $theme_info_file; + require_once $theme_info_file; } if (! (x($a->page, 'aside'))) { @@ -579,7 +579,7 @@ function get_birthdays() function get_events() { - include_once 'include/bbcode.php'; + require_once 'include/bbcode.php'; $a = get_app(); diff --git a/include/queue.php b/include/queue.php index f3841c997c..a56c41d97a 100644 --- a/include/queue.php +++ b/include/queue.php @@ -68,7 +68,7 @@ function queue_run(&$argv, &$argc) // delivering - include_once 'include/salmon.php'; + require_once 'include/salmon.php'; $r = q( "SELECT * FROM `queue` WHERE `id` = %d LIMIT 1",