Watch 1 Star 6 Fork 0

LiuJiantao / Tieba_SignPHPGPL-3.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
百度贴吧签到助手 spread retract

Clone or download
cron.php 458 Bytes
Copy Edit Web IDE Raw Blame History
LiuJiantao authored 2015-03-21 15:23 . 自有版本V9
<?php
@chdir(dirname(__FILE__));
require_once './system/common.inc.php';
$pass = $_GET['pw'];
if(defined('SAE_ACCESSKEY')){
$word = 'password'; //SAE用户请在此改动密码并在config.yaml中改写第七行pw的设置保证和此处一样
}else{
$word = getSetting('cron_pass');
}
if($pass != $word ){
echo 'no';
exit();
}else{
// Fix for php without web server
define('SIGN_LOOP', true);
define('ENABLE_CRON', true);
// Do nothing
echo 'ok';
}

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/liujiantao/Tieba_Sign.git
git@gitee.com:liujiantao/Tieba_Sign.git
liujiantao
Tieba_Sign
Tieba_Sign
master

Help Search

182353 aa51c838 1899542 205747 347fc4a1 1899542