Use require_once and require instead of include_once and include unless
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 21 Jun 2004 20:23:40 +0000 (20:23 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 21 Jun 2004 20:23:40 +0000 (20:23 +0000)
you have a very good reason (ie, failure to include a file must be non-
fatal if you use include, since execution will continue with a warning)

languages/LanguageSr.php

index a39ea86..2794d2f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-include_once( "LanguageUtf8.php" );
+require_once( "LanguageUtf8.php" );
 
 # NOTE: To turn off "Current Events" in the sidebar,
 # set "currentevents" => "-"