diff --git a/module/install/lang/de.php b/module/install/lang/de.php index 5d7525bf5d..b8b7a28096 100644 --- a/module/install/lang/de.php +++ b/module/install/lang/de.php @@ -33,7 +33,7 @@ $lang->install->links = <<Nature Easy Soft Co., LTD. Offizielle Website : http://www.zentao.pm Technischer Support : http://www.zentao.pm/forum/ -LinkedIn Group: ZenTao Project Management Software +LinkedIn:eNature Easy Soft Facebook: Nature Easy Soft Twitter: ZenTao ALM diff --git a/module/install/lang/en.php b/module/install/lang/en.php index c7b87425dc..ae1cedde29 100644 --- a/module/install/lang/en.php +++ b/module/install/lang/en.php @@ -33,7 +33,7 @@ $lang->install->links = <<Nature Easy Soft Co., LTD. Official Website: https://www.zentao.pm Technical Support: https://www.zentao.pm/forum/ -LinkedIn Group: ZenTao Project Management Software +LinkedIn: Nature Easy Soft Facebook: Nature Easy Soft Twitter: ZenTao ALM diff --git a/module/install/lang/fr.php b/module/install/lang/fr.php index 7d4e3a0eb2..3ddb3f3a48 100644 --- a/module/install/lang/fr.php +++ b/module/install/lang/fr.php @@ -33,7 +33,7 @@ $lang->install->links = <<Nature Easy Soft Co., LTD. Official Website: https://www.zentao.pm Technical Support: https://www.zentao.pm/forum/ -LinkedIn Group: ZenTao Project Management Software +LinkedIn: Nature Easy Soft Facebook: Nature Easy Soft Twitter: ZenTao ALM diff --git a/www/upgrade.php.tmp b/www/upgrade.php.tmp deleted file mode 100644 index 13abaab89e..0000000000 --- a/www/upgrade.php.tmp +++ /dev/null @@ -1,64 +0,0 @@ - - * @package ZenTaoPMS - * @version $Id: upgrade.php 4677 2013-04-26 06:23:58Z chencongzhi520@gmail.com $ - * @link http://www.zentao.net - */ -/* Judge my.php exists or not. */ -define('IN_UPGRADE', true); -$dbConfig = dirname(dirname(__FILE__)) . '/config/db.php'; -$myConfig = dirname(dirname(__FILE__)) . '/config/my.php'; -if(file_exists($dbConfig)) -{ - if(file_exists($myConfig)) - { - $myContent = trim(file_get_contents($myConfig)); - $myContent = str_replace('"; - echo "Please execute the command 'chmod 777 $configDir' to modify the permissions to ensure that the ZenTao has operating file permissions in this directory"; - exit; - } - - if(!empty($myContent)) - { - $myContent = file_get_contents($myConfig) . "\n" . $myContent; - file_put_contents($myConfig, $myContent); - } -} -if(!file_exists($myConfig)) die(header('location: install.php')); - -error_reporting(0); - -/* Load the framework. */ -include '../framework/router.class.php'; -include '../framework/control.class.php'; -include '../framework/model.class.php'; -include '../framework/helper.class.php'; - -/* Instance the app. */ -$app = router::createApp('pms', dirname(dirname(__FILE__)), 'router'); -$common = $app->loadCommon(); - -/* Reset the config params to make sure the install program will be lauched. */ -$config->set('requestType', 'GET'); -$config->set('default.module', 'upgrade'); -$app->setDebug(); - -/* Check the installed version is the latest or not. */ -$config->installedVersion = $common->loadModel('setting')->getVersion(); -if(($config->version{0} == $config->installedVersion{0} or (is_numeric($config->version{0}) and is_numeric($config->installedVersion{0}))) and version_compare($config->version, $config->installedVersion) <= 0) die(header('location: index.php')); - -/* Run it. */ -$app->parseRequest(); -$common->checkUpgradeStatus(); -$app->loadModule();