• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiónf61d10de742a5123fd13dc2d4089514cbfcf14c8 (tree)
Tiempo2011-03-06 23:40:31
Autorhenoheno <henoheno>
Commiterhenoheno

Log Message

Merged 1.50

Cambiar Resumen

Diferencia incremental

--- a/lib/init.php
+++ b/lib/init.php
@@ -1,6 +1,6 @@
11 <?php
22 // PukiWiki - Yet another WikiWikiWeb clone.
3-// $Id: init.php,v 1.46.2.3 2007/08/15 15:32:13 henoheno Exp $
3+// $Id: init.php,v 1.46.2.4 2011/03/06 14:40:31 henoheno Exp $
44 // Copyright (C)
55 // 2002-2007 PukiWiki Developers Team
66 // 2001-2002 Originally written by yu-ji
@@ -22,6 +22,9 @@ define('S_COPYRIGHT',
2222 /////////////////////////////////////////////////
2323 // Init server variables
2424
25+// Comapat and suppress notices
26+if (!isset($HTTP_SERVER_VARS)) $HTTP_SERVER_VARS = array();
27+
2528 foreach (array('SCRIPT_NAME', 'SERVER_ADMIN', 'SERVER_NAME',
2629 'SERVER_PORT', 'SERVER_SOFTWARE') as $key) {
2730 define($key, isset($_SERVER[$key]) ? $_SERVER[$key] : '');