diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-26 14:40:03 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-26 14:40:03 +0000 |
commit | 1d36f35ccebea772d4c801a86f3143877b5fdb93 (patch) | |
tree | 17146bc5c8fe7a0780e588e3a63f2a66902872ca | |
parent | 8382b3473d19194e9a495b17cfe91ee1729820e3 (diff) | |
download | mediawiki-1d36f35ccebea772d4c801a86f3143877b5fdb93.tar mediawiki-1d36f35ccebea772d4c801a86f3143877b5fdb93.tar.gz mediawiki-1d36f35ccebea772d4c801a86f3143877b5fdb93.tar.bz2 mediawiki-1d36f35ccebea772d4c801a86f3143877b5fdb93.tar.xz mediawiki-1d36f35ccebea772d4c801a86f3143877b5fdb93.zip |
fix includes
-rw-r--r-- | skins/Chick.deps.php | 3 | ||||
-rw-r--r-- | skins/Modern.deps.php | 3 | ||||
-rw-r--r-- | skins/MonoBook.deps.php | 3 | ||||
-rw-r--r-- | skins/MySkin.deps.php | 3 | ||||
-rw-r--r-- | skins/Simple.deps.php | 3 | ||||
-rw-r--r-- | skins/Vector.deps.php | 3 | ||||
-rw-r--r-- | skins/cavendish.deps.php | 3 |
7 files changed, 14 insertions, 7 deletions
diff --git a/skins/Chick.deps.php b/skins/Chick.deps.php index a7cb084..5626982 100644 --- a/skins/Chick.deps.php +++ b/skins/Chick.deps.php @@ -8,6 +8,7 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php'); require_once( dirname(__FILE__) . '/MonoBook.php' ); diff --git a/skins/Modern.deps.php b/skins/Modern.deps.php index e76ab99..47ad4f2 100644 --- a/skins/Modern.deps.php +++ b/skins/Modern.deps.php @@ -8,5 +8,6 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php' ); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php' ); diff --git a/skins/MonoBook.deps.php b/skins/MonoBook.deps.php index dda24e0..fa9bc2d 100644 --- a/skins/MonoBook.deps.php +++ b/skins/MonoBook.deps.php @@ -8,5 +8,6 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php'); diff --git a/skins/MySkin.deps.php b/skins/MySkin.deps.php index b589cc5..075915f 100644 --- a/skins/MySkin.deps.php +++ b/skins/MySkin.deps.php @@ -8,6 +8,7 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php'); require_once( dirname(__FILE__) . '/MonoBook.php' ); diff --git a/skins/Simple.deps.php b/skins/Simple.deps.php index 99fadc6..edca3e6 100644 --- a/skins/Simple.deps.php +++ b/skins/Simple.deps.php @@ -8,6 +8,7 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php'); require_once( dirname(__FILE__) . '/MonoBook.php' ); diff --git a/skins/Vector.deps.php b/skins/Vector.deps.php index 7a8c288..ed33b11 100644 --- a/skins/Vector.deps.php +++ b/skins/Vector.deps.php @@ -8,4 +8,5 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php'); diff --git a/skins/cavendish.deps.php b/skins/cavendish.deps.php index 7a8c288..ed33b11 100644 --- a/skins/cavendish.deps.php +++ b/skins/cavendish.deps.php @@ -8,4 +8,5 @@ if ( ! defined( 'MEDIAWIKI' ) ) die( 1 ); -require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +$preIP = '/usr/share/mediawiki'; +require_once( $preIP . '/includes/SkinTemplate.php'); |