Because most of the project code is ANSI code, you need to change the project code to GBK.
Create a letodms user and a database with the same name, and the password is also letodms. Select gbk_chinese_ci as the database character set.
Modify the create_tables. SQL file and change UTF-8 in engine = MyISAM default charset = utf8; to GBK. Import the SQL statement.
Create the directory htdocs/INFO/DMS/in Apache, and enter the following folder.
adodbconfinclanguagesLetoDMS_Coreopoutstylesindex.php
Create a new data directory to store document data
Create a. htaccess File
php_value max_execution_time 300 php_value memory_limit 20Mphp_value post_max_size 10Mphp_value upload_max_filesize 10MAddDefaultCharset GBK
Modify row 104 of letodms_core/CORE/Inc. dbaccess. php to $ this-> _ Conn-> execute ('set names gbk ');
Modify row 122 charset = GBK in INC/Inc. classui. php
Create the conf. settings. php file in the conf directory and modify the configuration options.
VaR $ _ sitename = "Document Management System of the Information Department"; var $ _ footnote = "Document Management System of the Information Department "; vaR $ _ rootdir = "/opt/lampp/htdocs/INFO/DMS/"; var $ _ coredir = "/opt/lampp/htdocs/INFO/DMS/letodms_core /"; vaR $ _ httproot = "/DMS/"; var $ _ contentdir = "/opt/lampp/htdocs/INFO/DMS/data /"; vaR $ _ theme = "HC"; var $ _ adodbpath = "/opt/lampp/htdocs/INFO/DMS/"; var $ _ dbdriver = "MySQL "; vaR $ _ dbhostname = "localhost"; var $ _ dbdatabase = "letodms"; var $ _ dbuser = "letodms"; var $ _ dbpass = "letodms ";
Visit http://info.xxx.cn/dms/, password admin/admin
Modify the ages/english/lang. inc file.