Commit 04c702dd by doszhang

dos

parent 1a8eff59
......@@ -21,6 +21,9 @@ class IndexController extends Controller
{
session_start();
$_SESSION['joinTime'] = time();
$num = M('num')->where('id=1');
$num = $num['num'];
$this->assign('num',$num);
$this->display();
}
......
......@@ -100,7 +100,7 @@
<script>
window.base_resource_url = '__CDN__';
window.num = '1000';
window.num = '{:$num}';
var link = location.origin;
var friend_title = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment