From 81f90290f708f888962b4afd4f5dad26b50a507f Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 31 Mar 2015 21:59:22 +0200 Subject: use require instead of include --- view/relive-player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') diff --git a/view/relive-player.php b/view/relive-player.php index 1517b92..bc8bb57 100644 --- a/view/relive-player.php +++ b/view/relive-player.php @@ -4,7 +4,7 @@ $talks_by_id = relive_talks(); $talk = @$talks_by_id[intval($_GET['id'])]; if(!$talk) - return include('page/404.php'); + return require('page/404.php'); echo $tpl->render(array( 'page' => 'relive-player', -- cgit v1.2.3