dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3024282
)
A note about symbolic link and dirname() / include() ...
author
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 12 Oct 2010 18:20:48 +0000
(18:20 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 12 Oct 2010 18:20:48 +0000
(18:20 +0000)
extensions/README
patch
|
blob
|
history
diff --git
a/extensions/README
b/extensions/README
index
85f4943
..
c8d4e90
100644
(file)
--- a/
extensions/README
+++ b/
extensions/README
@@
-12,3
+12,11
@@
The extensions are available through svn at:
You can find documentation and additional extensions on MediaWiki website:
http://www.mediawiki.org/wiki/Category:Extensions
You can find documentation and additional extensions on MediaWiki website:
http://www.mediawiki.org/wiki/Category:Extensions
+
+
+Please note that under POSIX systems (Linux...), parent of a symbolic path
+refers to the link source, NOT to the target! If you need to include a
+file from mediawiki/, you will want to set and use MW_INSTALL_PATH env.
+
+ $IP = getenv( 'MW_INSTALL_PATH' ); // points to mediawiki/
+ require( "$IP/maintenance/Maintenance.php" ); // a MediaWiki file