Changeset 12318
- Timestamp:
- 2007/05/08 21:38:56 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/html/install/index.php
r12192 r12318 791 791 $url_dir = ereg_replace("^https?://[a-zA-Z0-9_~=&\?\.\-]+", "", $normal_url); 792 792 793 $data_path = $root_dir . HTML2DATA_DIR; 793 $data_path = sfRmDupSlash($root_dir . HTML2DATA_DIR); 794 $data_path = realpath($data_path); 795 // ¸ìÈø¤Ë'/'¤ò¤Ä¤±¤ë 796 if (!ereg("/$", $data_path)) { 797 $data_path = $data_path . "/"; 798 } 794 799 $filepath = $data_path . "install.php"; 795 800 … … 809 814 " define ('DB_PORT', '" . $objDBParam->getValue('db_port') . "');\n" . 810 815 " define ('DATA_PATH', '".$data_path."');\n" . 811 " 812 " 813 " 814 " 816 " define ('MOBILE_HTML_PATH', HTML_PATH . 'mobile/');\n" . 817 " define ('MOBILE_SITE_URL', SITE_URL . 'mobile/');\n" . 818 " define ('MOBILE_SSL_URL', SSL_URL . 'mobile/');\n" . 819 " define ('MOBILE_URL_DIR', URL_DIR . 'mobile/');\n" . 815 820 "?>"; 816 821
Note: See TracChangeset
for help on using the changeset viewer.