Browse Source

fcpath

master
qiaodan 1 year ago
parent
commit
bacfdf3aae
  1. 6
      .idea/vcs.xml
  2. 4
      config/database.php
  3. 6
      diy/branch/extend/Finecms_Loader.php

6
.idea/vcs.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

4
config/database.php

@ -8,8 +8,8 @@ $query_builder = TRUE;
$db['default'] = array( $db['default'] = array(
'dsn' => '', 'dsn' => '',
'hostname' => 'localhost', 'hostname' => 'localhost',
'username' => 'root',
'password' => '123456',
'username' => 'gqzt',
'password' => '8a5Ra6T27Fyaa6Kz',
'port' => '3306', 'port' => '3306',
'database' => 'gqzt', 'database' => 'gqzt',
'dbdriver' => 'mysqli', 'dbdriver' => 'mysqli',

6
diy/branch/extend/Finecms_Loader.php

@ -16,9 +16,9 @@ class M_Loader extends CI_Loader
*/ */
public function initialize() public function initialize()
{ {
$this->_ci_library_paths = array(FCPATCH . 'dayrui/', APPPATH, BASEPATH);
$this->_ci_model_paths = array(FCPATCH . 'dayrui/', APPPATH);
$this->_ci_helper_paths = array(FCPATCH . 'dayrui/', APPPATH, BASEPATH);
$this->_ci_library_paths = array(FCPATH . 'dayrui/', APPPATH, BASEPATH);
$this->_ci_model_paths = array(FCPATH . 'dayrui/', APPPATH);
$this->_ci_helper_paths = array(FCPATH . 'dayrui/', APPPATH, BASEPATH);
$this->_ci_autoloader(); $this->_ci_autoloader();
} }

Loading…
Cancel
Save