[xoops-cvslog 3693] CVS update: xoops2jp/html/install/class

Back to archive index

onokazu onoka****@users*****
2006年 7月 27日 (木) 09:09:35 JST


Index: xoops2jp/html/install/class/settingmanager.php
diff -u xoops2jp/html/install/class/settingmanager.php:1.2.18.1 xoops2jp/html/install/class/settingmanager.php:1.2.18.2
--- xoops2jp/html/install/class/settingmanager.php:1.2.18.1	Thu Jul 27 08:52:33 2006
+++ xoops2jp/html/install/class/settingmanager.php	Thu Jul 27 09:09:35 2006
@@ -29,7 +29,7 @@
 * setting manager for XOOPS installer
 *
 * @author Haruki Setoyama  <haruk****@plane*****>
-* @version $Id: settingmanager.php,v 1.2.18.1 2006/07/26 23:52:33 onokazu Exp $
+* @version $Id: settingmanager.php,v 1.2.18.2 2006/07/27 00:09:35 onokazu Exp $
 * @access public
 **/
 class setting_manager {
@@ -72,8 +72,7 @@
             if ( substr($filepath, -1) == "/" ) {
                 $filepath = substr($filepath, 0, -1);
             }
-            $protocol = 
-(!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) ? 'https://' : 'http://';
+            $protocol = $_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://';
             $this->xoops_url = (!empty($filepath)) ? $protocol.$_SERVER['HTTP_HOST']."/".$filepath : $protocol.$_SERVER['HTTP_HOST'];
         }
     }


xoops-cvslog メーリングリストの案内
Back to archive index