<?php
/*
* //應用安裝文件示例;
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
* @license http://www.dzzoffice.com/licenses/license.txt
* @package DzzOffice
* @version DzzOffice 1.1 2014.07.05
* @link http://www.dzzoffice.com
* @author zyx(zyx@dzz.cc)
*/
if(!defined('IN_DZZ') || !defined('IN_ADMIN')) {
exit('Access Denied');
}
$sql = <<<EOF
CREATE TABLE IF NOT EXISTS `dzz_test` (
`testid` int(10) NOT NULL AUTO_INCREMENT,
`name` char(30) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`testid`),
KEY `dateline` (`dateline`)
) ENGINE=MyISAM;
EOF;
runquery($sql);
$finish = true; //結(jié)束時必須加入此句,告訴應用安裝程序已經(jīng)完成自定義的安裝流程
更多建議: