Skip to content

Commit

Permalink
Increase version number #106 #109
Browse files Browse the repository at this point in the history
  • Loading branch information
kenvix authored Jul 5, 2021
1 parent 765d667 commit 024ebaf
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions init.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
<?php
/**
* 贴吧云签到
* Copyright (c) 2012~2016 StusGame All Rights Reserved.
*
* 获取开发文档:https://git.oschina.net/kenvix/Tieba-Cloud-Sign/wikis/
*/
/**
* 加载核心
* HELLO GAY!
* 获取开发文档:https://github.com/MoeNetwork/Tieba-Cloud-Sign/wiki
*/

define('SYSTEM_FN','百度贴吧云签到');
define('SYSTEM_VER','4.94');
define('SYSTEM_VER','4.95');
define('SYSTEM_VER_NOTE','');
define('SYSTEM_ROOT',dirname(__FILE__));
define('PLUGIN_ROOT',dirname(__FILE__) . '/plugins/');
define('SYSTEM_ISCONSOLE' , PHP_SAPI === 'cli' OR defined('STDIN'));
define('SYSTEM_PAGE',isset($_REQUEST['mod']) ? strip_tags($_REQUEST['mod']) : 'default');
define('SUPPORT_URL', 'http://git.oschina.net/kenvix/Tieba-Cloud-Sign/wikis/home');
define('SUPPORT_URL', 'https://github.com/MoeNetwork/Tieba-Cloud-Sign/wiki');
if(defined('SYSTEM_NO_ERROR')) error_reporting(0);

if(SYSTEM_ISCONSOLE) {
function console_htmltag_delete($v) {
$v = str_ireplace(array('</td>','</th>') , ' | ', $v);
Expand All @@ -28,8 +24,10 @@ function console_htmltag_delete($v) {
ob_start('console_htmltag_delete');
}
require SYSTEM_ROOT.'/lib/msg.php';

//如需停止站点运行,请解除注释,即删除开头的 //
//msg('站点已关闭!请稍后再试,如有疑问请联系站长解决!');

if (!file_exists(SYSTEM_ROOT.'/setup/install.lock') && file_exists(SYSTEM_ROOT.'/setup/install.php')) {
msg('<h2>检测到无 install.lock 文件</h2><ul><li><font size="4">如果您尚未安装本程序,请<a href="./setup/install.php">前往安装</a></font></li><li><font size="4">如果您已经安装本程序,请手动放置一个空的 install.lock 文件到 /setup 文件夹下,<b>为了您站点安全,在您完成它之前我们不会工作。</b></font></li></ul><br/><h4>为什么必须建立 install.lock 文件?</h4>它是云签到的保护文件,如果云签到检测不到它,就会认为站点还没安装,此时任何人都可以安装/重装云签到。<br/><br/>',false,true,false);
}
Expand Down

0 comments on commit 024ebaf

Please sign in to comment.