Revision: 2284
http://mrbs.svn.sourceforge.net/mrbs/?rev=2284&view=rev
Author: cimorrison
Date: 2012-04-08 18:18:00 +0000 (Sun, 08 Apr 2012)
Log Message:
-----------
Removed use of error control operator to make development debugging easier
Modified Paths:
--------------
mrbs/trunk/web/functions.inc
Modified: mrbs/trunk/web/functions.inc
===================================================================
--- mrbs/trunk/web/functions.inc 2012-04-08 18:08:25 UTC (rev 2283)
+++ mrbs/trunk/web/functions.inc 2012-04-08 18:18:00 UTC (rev 2284)
@@ -122,7 +122,10 @@
// Load the print_theme_header function appropriate to the theme. If there
// isn't one then fall back to the default header.
- @include_once "Themes/$theme/header.inc";
+ if (file_exists("Themes/$theme/header.inc"))
+ {
+ include_once "Themes/$theme/header.inc";
+ }
if (!function_exists("print_theme_header"))
{
require_once "Themes/default/header.inc";
@@ -139,7 +142,10 @@
function print_footer($and_exit)
{
global $theme;
- @include_once "Themes/$theme/footer.inc";
+ if (file_exists("Themes/$theme/footer.inc"))
+ {
+ include_once "Themes/$theme/footer.inc";
+ }
if (function_exists("print_theme_footer"))
{
print_theme_footer();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits