Installation and localization of letodms

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.