From bacfdf3aae2a4475c17ef4f091553500d6541d48 Mon Sep 17 00:00:00 2001 From: qiaodan <849557066@qq.com> Date: Fri, 23 Aug 2024 15:10:24 +0800 Subject: [PATCH] fcpath --- .idea/vcs.xml | 6 ++++++ config/database.php | 4 ++-- diy/branch/extend/Finecms_Loader.php | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/config/database.php b/config/database.php index a3de76a..5d2a7e9 100644 --- a/config/database.php +++ b/config/database.php @@ -8,8 +8,8 @@ $query_builder = TRUE; $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', - 'username' => 'root', - 'password' => '123456', + 'username' => 'gqzt', + 'password' => '8a5Ra6T27Fyaa6Kz', 'port' => '3306', 'database' => 'gqzt', 'dbdriver' => 'mysqli', diff --git a/diy/branch/extend/Finecms_Loader.php b/diy/branch/extend/Finecms_Loader.php index 1eb9310..ed2a9ee 100644 --- a/diy/branch/extend/Finecms_Loader.php +++ b/diy/branch/extend/Finecms_Loader.php @@ -16,9 +16,9 @@ class M_Loader extends CI_Loader */ 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(); }