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",