diff options
Diffstat (limited to 'skins')
-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'); |