Reason for prompting "illegal source"
After the Empire CMS was updated to 7.2, a new background security mode was added, and the King Kong mode was launched in the background to verify the link source. All links in the backend need to be logged in before accessing. If you directly force access to the backend page link, you will be prompted with "illegal source". Users who are not logged in to the backend normally cannot directly access the content, ensuring backend data security.
So in our daily use, when we access the background link normally, we also get a prompt of "illegal source", how to solve it, the solution is as follows.
"Illegal source" solution
1. Add the <?=$ecms_hashur['href']?> function at the end of the link, such as:
Link address with parameters:
1 2 |
|
Link address without parameters:
1 2 </ |