I'd like to use a common skin path for two different wikis to share file
Directory structure is as follows:
For this, I added to each LocalSettings file:
While testing this, I got the a error like:
"Warning: require_once(/usr/local/... /Common/includes/SkinTemplate.php)
]: failed to open stream: No such file or directory in
/usr/local/.../Common/skins/MonoBook.deps.php on line 12"
This is because of SkinTemplate.php is relatively referenced in
MonoBook.deps.php as "require_once ( dirname ( dirname ( __FILE__ ) ) .
'includes/SkinTemplate.php' ", which belongs to normal directory
The strange thing now is, changing the statement in MonoBook.deps.php to
"$IP/includes/SkinTemplate.php" didn't work.
It seems, $IP isn't available at this point and the statement results in
"require_once (/includes/SkinTemplate.php)" only.
Could somebody give me a hint what I'm doing wrong, please?
Or is there a better solution to that plan?