Modify e/class/connect.php and modify the following code:
The code is as follows:
//字符截取函数 function sub($string,$start=0,$length,$mode=false,$dot=''){
After modification:
The code is as follows:
//字符截取函数 function sub($string,$start=0,$length,$mode=false,$dot='…'){
Recommended to study "Empirecms Tutorial"
The above is the detailed content of Let's learn together how to add ellipsis after intercepting the long title of Empire CMS. For more information, please follow other related articles on the PHP Chinese website!