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:
1c7177a
)
Close include hole on some insecure PHP configurations
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 6 Aug 2004 22:02:11 +0000
(22:02 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 6 Aug 2004 22:02:11 +0000
(22:02 +0000)
includes/SkinPHPTal.php
patch
|
blob
|
history
diff --git
a/includes/SkinPHPTal.php
b/includes/SkinPHPTal.php
index
ad717d5
..
3206b5e
100644
(file)
--- a/
includes/SkinPHPTal.php
+++ b/
includes/SkinPHPTal.php
@@
-26,6
+26,7
@@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
+if( defined( "MEDIAWIKI" ) ) {
require_once "GlobalFunctions.php";
global $IP;
require_once $IP."/PHPTAL-NP-0.7.0/libs/PHPTAL.php";
@@
-630,5
+631,5
@@
$this->skinname = "myskin";
}
}
-
+}
?>