Ignore:
Timestamp:
2007/06/14 22:01:13 (17 years ago)
Author:
adati
Message:

1.4.0a-betaのマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/html/install/index.php

    r12318 r14676  
    88$INSTALL_DIR = realpath(dirname( __FILE__)); 
    99require_once("../" . HTML2DATA_DIR . "module/Request.php"); 
    10  
    1110define("INSTALL_LOG", "./temp/install.log"); 
    1211 
     
    2019            'pgsql' => '', 
    2120            'mysql' => ''    
    22         ); 
     21        );     
    2322    } 
    2423} 
     
    110109    $objPage->arrErr = lfAddTable("dtb_site_control", $dsn);    // ¥µ¥¤¥È¾ðÊó´ÉÍý¥Æ¡¼¥Ö¥ë 
    111110    $objPage->arrErr = lfAddTable("dtb_trackback", $dsn);   // ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯´ÉÍý¥Æ¡¼¥Ö¥ë 
    112      
     111    $objPage->arrErr = lfAddTable("dtb_blayn", $dsn);   // ¥Ö¥ì¥¤¥óIP´ÉÍý¥Æ¡¼¥Ö¥ë    
    113112     
    114113    // ¥«¥é¥à¤òÄɲà
     
    207206    lfDropTable("dtb_site_control", $dsn); 
    208207    lfDropTable("dtb_trackback", $dsn); 
     208    lfDropTable("dtb_blayn", $dsn); 
    209209             
    210210    if ($arrRet['db_type'] == 'pgsql'){ 
     
    410410            mkdir($path); 
    411411        } 
     412        $path = ".." . HTML2DATA_DIR . "Smarty/templates_c/mobile"; 
     413        if(!file_exists($path)) { 
     414            mkdir($path);  
     415        } 
    412416        $path = "../upload/temp_template"; 
    413417        if(!file_exists($path)) { 
     
    824828        fclose($fp); 
    825829    } 
    826 /* install_mobile.inc¤Ï»ÈÍѤ·¤Ê¤¤ÍѤËÊѹ¹ 
    827  
    828     // ¥â¥Ð¥¤¥ëÈǤÎÀßÄê¥Õ¥¡¥¤¥ë install_mobile.inc ¤òºîÀ®¤¹¤ë¡£ 
    829     $filepath = $data_path . "install_mobile.inc"; 
    830      
    831     $config_data =  
    832     "<?php\n". 
    833     "    define ('ECCUBE_INSTALL', 'ON');\n" . 
    834     "    define ('HTML_PATH', '" . $root_dir . "mobile/');\n" .   
    835     "    define ('PC_HTML_PATH', '" . $root_dir . "');\n" .   
    836     "    define ('SITE_URL', '" . $normal_url . "mobile/');\n" . 
    837     "    define ('PC_SITE_URL', '" . $normal_url . "');\n" . 
    838     "    define ('SSL_URL', '" . $secure_url . "mobile/');\n" . 
    839     "    define ('PC_SSL_URL', '" . $secure_url . "');\n" . 
    840     "    define ('URL_DIR', '" . $url_dir . "mobile/');\n" .     
    841     "    define ('PC_URL_DIR', '" . $url_dir . "');\n" .     
    842     "    define ('DOMAIN_NAME', '" . $objWebParam->getValue('domain') . "');\n" . 
    843     "    define ('DB_TYPE', '" . $objDBParam->getValue('db_type') . "');\n" . 
    844     "    define ('DB_USER', '" . $objDBParam->getValue('db_user') . "');\n" .  
    845     "    define ('DB_PASSWORD', '" . $objDBParam->getValue('db_password') . "');\n" . 
    846     "    define ('DB_SERVER', '" . $objDBParam->getValue('db_server') . "');\n" . 
    847     "    define ('DB_NAME', '" . $objDBParam->getValue('db_name') . "');\n" . 
    848     "    define ('DB_PORT', '" . $objDBParam->getValue('db_port') .  "');\n" . 
    849     "    define ('DATA_PATH', '".$data_path."');\n" . 
    850     "?>"; 
    851      
    852     if($fp = fopen($filepath,"w")) { 
    853         fwrite($fp, $config_data); 
    854         fclose($fp); 
    855     } 
    856 */ 
    857830} 
    858831 
Note: See TracChangeset for help on using the changeset viewer.