当前位置:网站首页>dedecms织梦tag标签不支持大写字母修复
dedecms织梦tag标签不支持大写字母修复
2022-08-05 04:13:00 【网站建设影子】
无意中发现自己dedecms的博客中部分tag标签点击无效的情况,开始以为是自己标签弄错了,正了半天没搞明白,后来无意中发现是因为dedecms5.7版本tag标签不支持大写字母,下面是解决方法:打开网站根目录的tags.php文件,
把下面一行代码
$tag = trim($_SERVER['QUERY_STRING']); 改成
$tag = strtolower(trim($_SERVER['QUERY_STRING'])); 注释:PHP strtolower() 函数
定义和用法
strtolower() 函数把字符串转换为小写。
语法 strtolower(string)
参数 描述
string 必需。规定要转换的字符串。
例子 <?php echo strtolower("Hello WORLD!"); ?>
输出:
hello world!
边栏推荐
- How do newcomers get started and learn software testing?
- JeeSite新建报表
- Mysql的undo log详解
- Android 面试题——如何徒手写一个非阻塞线程安全队列 ConcurrentLinkedQueue?
- [极客大挑战 2019]FinalSQL
- 1007 Climb Stairs (greedy | C thinking)
- Qixi Festival code confession
- Some conventional routines of program development (1)
- Four-digit display header design
- Index Mysql in order to optimize paper 02 】 【 10 kinds of circumstances and the principle of failure
猜你喜欢

Spark基础【介绍、入门WordCount案例】

使用IDEA连接TDengine服务器

10 years of testing experience, worthless in the face of the biological age of 35

In the WebView page of the UI automation test App, the processing method when the search bar has no search button
![[极客大挑战 2019]FinalSQL](/img/e4/0c8225ef7c5e7e5bdbaac2ef6fc867.png)
[极客大挑战 2019]FinalSQL

36-Jenkins-Job迁移

如何解决复杂的分销分账问题?

JeeSite新建报表

【Mysql进阶优化篇02】索引失效的10种情况及原理
虚证、实证如何鉴别?
随机推荐
关于sklearn库的安装
36-Jenkins-Job Migration
使用IDEA连接TDengine服务器
[MRCTF2020]Ezpop(详解)
bytebuffer 使用demo
[MRCTF2020] Ezpop (detailed)
DEJA_VU3D - Cesium功能集 之 058-高德地图纠偏
银行数据采集,数据补录与指标管理3大问题如何解决?
Based on holding YOLOv5 custom implementation of FacePose YOLO structure interpretation, YOLO data format conversion, YOLO process modification"
iMedicalLIS监听程序(2)
Detailed explanation of Mysql's undo log
Redis key basic commands
DEJA_VU3D - Cesium功能集 之 056-智图Arcgis地图纠偏
[BSidesCF 2019] Kookie
UE4 通过互动(键盘按键)开门
The production method of the powered small sailboat is simple, the production method of the electric small sailboat
UE4 为子弹蓝图添加声音和粒子效果
DEJA_VU3D - Cesium功能集 之 059-腾讯地图纠偏
The most effective seven performance testing techniques of software testing techniques
关于#SQL#的迭代、父子结构查询问题,如何解决?