...
|
...
|
@@ -38,7 +38,7 @@ class PublicController extends AdminBaseController |
|
|
$site_admin_url_password = config("cmf_SITE_ADMIN_URL_PASSWORD");
|
|
|
$upw = session("__CMF_UPW__");
|
|
|
if (!empty($site_admin_url_password) && $upw != $site_admin_url_password) {
|
|
|
redirect(ROOT_PATH . "/");
|
|
|
redirect(url("admin/Index/index"));
|
|
|
} else {
|
|
|
session("__SP_ADMIN_LOGIN_PAGE_SHOWED_SUCCESS__", true);
|
|
|
$result = hook_one('admin_login');
|
...
|
...
|
|