* change renametable of function name to win2unit.
This commit is contained in:
2
Makefile
2
Makefile
@@ -27,7 +27,7 @@ tgz:
|
||||
cp -fr config/config.php zentaopms/config/
|
||||
cp -fr module zentaopms/
|
||||
cp -fr www/*.ico www/fusioncharts www/*.php www/js www/*.txt www/theme www/.htaccess www/.ztaccess zentaopms/www
|
||||
cp bin/ztc* bin/computeburn.php bin/getbugs.php bin/initext.php bin/todo.php bin/backup.php bin/checkdb.php bin/minifyfront.php bin/renametable.php zentaopms/bin
|
||||
cp bin/ztc* bin/computeburn.php bin/getbugs.php bin/initext.php bin/todo.php bin/backup.php bin/checkdb.php bin/minifyfront.php bin/win2unit.php zentaopms/bin
|
||||
cp -fr db zentaopms/
|
||||
cp -fr doc/* zentaopms/
|
||||
cp -fr tmp zentaopms/
|
||||
|
||||
@@ -3,9 +3,9 @@ include dirname(dirname(__FILE__)) . "/config/my.php";
|
||||
|
||||
if($config->requestType == 'PATH_INFO')
|
||||
{
|
||||
system('php ztcli "http://localhost/admin-renameTable"');
|
||||
system('php ztcli "http://localhost/admin-win2Unit"');
|
||||
}
|
||||
elseif($config->requestType == 'GET')
|
||||
{
|
||||
system('php ztcli "http://localhost/?m=admin&f=renameTable"');
|
||||
system('php ztcli "http://localhost/?m=admin&f=win2Unit"');
|
||||
}
|
||||
@@ -118,7 +118,7 @@ class admin extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function renameTable()
|
||||
public function win2Unit()
|
||||
{
|
||||
$renameTables = array(
|
||||
'zt_casestep' => 'zt_caseStep' ,
|
||||
|
||||
Reference in New Issue
Block a user