Changeset 17147
- Timestamp:
- 2008/03/13 12:03:10 (16 years ago)
- Location:
- branches/version-2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/include/module.inc
r17138 r17147 22 22 */ 23 23 24 if (!defined('ECCUBE_INSTALL')) { 24 if (!defined('ECCUBE_INSTALL') 25 || preg_match('|install/index.php|', $_SERVER['PHP_SELF'])) { 26 25 27 return; 26 28 } -
branches/version-2/html/install/index.php
r16809 r17147 28 28 ini_set("max_execution_time", 300); 29 29 30 class LC_Page { 31 function LC_Page() { 32 $this->arrDB_TYPE = array( 33 'pgsql' => 'PostgreSQL', 34 'mysql' => 'MySQL' 35 ); 36 $this->arrDB_PORT = array( 37 'pgsql' => '', 38 'mysql' => '' 39 ); 40 } 41 } 42 43 $objPage = new LC_Page(); 30 $objPage = new StdClass; 31 $objPage->arrDB_TYPE = array( 32 'pgsql' => 'PostgreSQL', 33 'mysql' => 'MySQL' 34 ); 35 $objPage->arrDB_PORT = array( 36 'pgsql' => '', 37 'mysql' => '' 38 ); 39 44 40 $objDb = new SC_Helper_DB_Ex(); 45 41 … … 845 841 $data_path = $data_path . "/"; 846 842 } 847 843 848 844 $filepath = $data_path . "install.php"; 849 845
Note: See TracChangeset
for help on using the changeset viewer.