From e1e60f89413c5a4df8a6abbfd83cd210599dc9ca Mon Sep 17 00:00:00 2001 From: Michael Fairchild <mfairchild365@gmail.com> Date: Thu, 17 Dec 2015 14:37:54 -0600 Subject: [PATCH] Suppress errors --- www/templates/local-footer.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/templates/local-footer.tpl.php b/www/templates/local-footer.tpl.php index 476b90d..d85fa26 100644 --- a/www/templates/local-footer.tpl.php +++ b/www/templates/local-footer.tpl.php @@ -9,7 +9,7 @@ <div class="wdn-footer-module"> <span role="heading" class="wdn-footer-heading">About UNL Search</span> <?php - if ($file = file_get_contents(UNL_Search::getProjectRoot() . '/tmp/iim-app-footer.html')) { + if ($file = @file_get_contents(UNL_Search::getProjectRoot() . '/tmp/iim-app-footer.html')) { echo $file; } else { echo file_get_contents('http://iim.unl.edu/iim-app-footer?format=partial'); -- GitLab