diff --git a/platform/TencentSCF.php b/platform/TencentSCF.php
index 497d110..14b592b 100644
--- a/platform/TencentSCF.php
+++ b/platform/TencentSCF.php
@@ -135,9 +135,23 @@ function install()
setConfig($tmp);
if (needUpdate()) {
OnekeyUpate();
- return message('update to github version, reinstall.', 'Program updating', 201);
+ return message('update to github version, reinstall.
+
+ ', 'Program updating', 201);
}
- return output('Jump', 302);
+ return output('Jump
+
+ ', 302);
}
if ($_GET['install1']) {
//if ($_POST['admin']!='') {
@@ -219,7 +233,10 @@ language:
';
document.cookie="timezone="+timezone+"; path=/; "+expires;
function changelanguage(str)
{
- document.cookie=\'language=\'+str+\'; path=/\';
+ var expd = new Date();
+ expd.setTime(expd.getTime()+(2*60*60*1000));
+ var expires = "expires="+expd.toGMTString();
+ document.cookie=\'language=\'+str+\'; path=/; \'+expires;
location.href = location.href;
}
function notnull(t)