r40848 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r40847
|
r40848
|
r40849
>
Date:
06:25, 15 September 2008
Author:
tstarling
Status:
old
Tags:
Comment:
Don't open up a register_globals arbitrary script inclusion vulnerability if the current directory is not in the include path.
Modified paths:
/trunk/extensions/geo/index.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/geo/index.php
—
—
@@ -1,5 +1,5 @@
2
2
<?php
3
-include_once ( "geosettings.php" ) ;
3
+require_once ( "geosettings.php" ) ;
4
4
5
5
if ( isset ( $wikibasedir ) )
6
6
{