You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.6 KiB

3 years ago
README ��������Ŀ¼�ṹ˵���ļ�
index.php ��������֮������
languages/ ���԰�
templates/ �
packages/ ����������Ŀ¼
packages/v2.1.0/ ����������v2.0.5������v2.1.0
packages/v2.1.0/changelog ���������ļ������ݽṹ���޸���ʷ
packages/v2.1.0/structure.sql ���ݽṹ�����ļ�
packages/v2.1.0/data_zh_cn.sql ���������ļ�֮�������İ�
packages/v2.1.0/data_zh_tw.sql ���������ļ�֮�������İ�
.
.
.
��ע��
һ��ÿ��������ֻ������֮��һ���汾�ŵ�����������
��������Ҫ����ǰ׺�滻�Լ�������ȡ��Ϊ�˾�ȷƥ�䣬
���������ݿⰲװ�������ļ�ʱ������������SQL���䣺
CREATE TABLE
DROP TABLE
ALTER TABLE
UPDATE
REPLACE INTO
INSERT INTO
����ÿ���汾�࣬�����ṩ�Ľӿ��У�
������
(1) update_database_optionally()
�ڴ˺����У��û������������ض����ݿ����в����������˳����������Ժ���Ӧ�ԡ�
����Ҫ�ǿ��ǵ�����Щ������SQL�ļ���ֱ����SQL���䲻�������е�Ե�ʡ�
(2) update_files()
�ڴ˺����У��û��ɶ�ϵͳ���ļ����в�����
���ԣ�
(1) $sql_files
���������ڴ���ij����������SQL�ļ����ŵ�λ�ã����������������ڵ�·������
һ����˵��ʽ���£�
var $sql_files = array(
'structure' => 'structure.sql',
'data' => array(
'zh_cn' => 'data_zh_cn.sql',
'zh_tw' => 'data_zh_tw.sql'
)
);
����data����������ʱ����ʽ�����£�
var $sql_files = array(
'structure' => 'structure.sql',
'data' => ��data.sql��);
��Ȼ������������û�������κ�һ��Ԫ�أ���������Ϊ�գ�
var $sql_files = array('structure' => 'structure.sql');
var $sql_files = array('data' => 'data.sql');
var $sql_files = array();
(2) $auto_match
��������ij�������Ƿ��������ܻ��IJ�ѯ����