From: Trevor Parscal Date: Fri, 24 Sep 2010 17:31:40 +0000 (+0000) Subject: Added early exits when files are used before webstart X-Git-Tag: 1.31.0-rc.0~34809 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=da50a7fef5e048c49092201841b0bdc0722ba27b;p=lhc%2Fweb%2Fwiklou.git Added early exits when files are used before webstart --- diff --git a/includes/ResourceLoader.php b/includes/ResourceLoader.php index bb958c3879..17134d6e16 100644 --- a/includes/ResourceLoader.php +++ b/includes/ResourceLoader.php @@ -20,6 +20,8 @@ * @author Trevor Parscal */ +defined( 'MEDIAWIKI' ) || die( 1 ); + /** * Dynamic JavaScript and CSS resource loading system */ diff --git a/includes/ResourceLoaderContext.php b/includes/ResourceLoaderContext.php index c35592fe2e..0de6554ba2 100644 --- a/includes/ResourceLoaderContext.php +++ b/includes/ResourceLoaderContext.php @@ -15,10 +15,13 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @author Trevor Parscal * @author Roan Kattouw */ +defined( 'MEDIAWIKI' ) || die( 1 ); + /** * Object passed around to modules which contains information about the state * of a specific loader request diff --git a/includes/ResourceLoaderModule.php b/includes/ResourceLoaderModule.php index 8162be7ffe..ae4f586924 100644 --- a/includes/ResourceLoaderModule.php +++ b/includes/ResourceLoaderModule.php @@ -20,6 +20,8 @@ * @author Roan Kattouw */ +defined( 'MEDIAWIKI' ) || die( 1 ); + /** * Abstraction for resource loader modules, with name registration and maxage functionality. */