Ignore:
Timestamp:
2006/10/12 14:05:51 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/install/index.php

    r6090 r6091  
    604604    // ¥Ç¥£¥ì¥¯¥È¥ê¤Î¼èÆÀ 
    605605    $url_dir = ereg_replace("^https?://[a-zA-Z0-9_~=&\?\.\-]+", "", $normal_url); 
     606     
     607    $data_path = $root_dir . "../data/"; 
    606608             
    607     $filepath = $root_dir . "../data/install.inc"; 
     609    $filepath = $data_path . "install.inc"; 
    608610     
    609611    $config_data =  
     
    622624    "    define ('DB_NAME', '" . $objDBParam->getValue('db_name') . "');\n" . 
    623625    "    define ('DB_PORT', '" . $objDBParam->getValue('db_port') .  "');\n" . 
    624     "    define('DATA_PATH', HTML_PATH . '../data/');\n" . 
     626    "    define('DATA_PATH', ".$data_path.");\n" . 
    625627    "?>"; 
    626          
     628     
    627629    if($fp = fopen($filepath,"w")) { 
    628630        fwrite($fp, $config_data); 
Note: See TracChangeset for help on using the changeset viewer.