Changeset 14676 for branches/beta/html/install/index.php
- Timestamp:
- 2007/06/14 22:01:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/html/install/index.php
r12318 r14676 8 8 $INSTALL_DIR = realpath(dirname( __FILE__)); 9 9 require_once("../" . HTML2DATA_DIR . "module/Request.php"); 10 11 10 define("INSTALL_LOG", "./temp/install.log"); 12 11 … … 20 19 'pgsql' => '', 21 20 'mysql' => '' 22 ); 21 ); 23 22 } 24 23 } … … 110 109 $objPage->arrErr = lfAddTable("dtb_site_control", $dsn); // ¥µ¥¤¥È¾ðÊó´ÉÍý¥Æ¡¼¥Ö¥ë 111 110 $objPage->arrErr = lfAddTable("dtb_trackback", $dsn); // ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯´ÉÍý¥Æ¡¼¥Ö¥ë 112 111 $objPage->arrErr = lfAddTable("dtb_blayn", $dsn); // ¥Ö¥ì¥¤¥óIP´ÉÍý¥Æ¡¼¥Ö¥ë 113 112 114 113 // ¥«¥é¥à¤òÄɲà … … 207 206 lfDropTable("dtb_site_control", $dsn); 208 207 lfDropTable("dtb_trackback", $dsn); 208 lfDropTable("dtb_blayn", $dsn); 209 209 210 210 if ($arrRet['db_type'] == 'pgsql'){ … … 410 410 mkdir($path); 411 411 } 412 $path = ".." . HTML2DATA_DIR . "Smarty/templates_c/mobile"; 413 if(!file_exists($path)) { 414 mkdir($path); 415 } 412 416 $path = "../upload/temp_template"; 413 417 if(!file_exists($path)) { … … 824 828 fclose($fp); 825 829 } 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 */857 830 } 858 831
Note: See TracChangeset
for help on using the changeset viewer.