Initial project files: BESCMS full source
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php namespace Phpcmf\Controllers;
|
||||
|
||||
class Content extends \Phpcmf\Table
|
||||
{
|
||||
/**
|
||||
* 兼容跳转
|
||||
*/
|
||||
public function comment() {
|
||||
|
||||
if (dr_is_app('comment')) {
|
||||
dr_redirect(dr_member_url('comment/content/index'));
|
||||
} else {
|
||||
$this->_admin_msg(0, dr_lang('系统没有安装评论插件'));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user