当前位置:网站首页>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!
边栏推荐
- The first performance test practice, there are "100 million" a little nervous
- [TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.3 Real-time Shadow Introduction
- 机器学习概述
- [8.1] Code Source - [The Second Largest Number Sum] [Stone Game III] [Balanced Binary Tree]
- 【 8.4 】 source code - [math] [calendar] [delete library 】 【 is not a simple sequence (Bonus) 】
- 七夕节赚徽章拉
- bytebuffer internal structure
- 动力小帆船制作方法简单,电动小帆船制作方法
- 银行数据采集,数据补录与指标管理3大问题如何解决?
- UE4 为子弹蓝图添加声音和粒子效果
猜你喜欢
随机推荐
第一次性能测试实践,有“亿”点点紧张
Cron(Crontab)--use/tutorial/example
七夕节代码表白
【背包九讲——01背包问题】
UE4 opens doors with overlapping events
Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~
【树莓派】树莓派调光
[8.1] Code Source - [The Second Largest Number Sum] [Stone Game III] [Balanced Binary Tree]
How to solve the three major problems of bank data collection, data supplementary recording and index management?
2022软件测试工程师最全面试题
bytebuffer internal structure
为什么刚考完PMP,就开始准备软考了?
阿里本地生活单季营收106亿,大文娱营收72亿,菜鸟营收121亿
UE4 后期处理体积 (角色受到伤害场景颜色变淡案例)
The production method of the powered small sailboat is simple, the production method of the electric small sailboat
[SWPU2019]Web1
Redis1: Introduction to Redis, basic features of Redis, relational database, non-relational database, database development stage
flink reads mongodb data source
pyqt5 + socket 实现客户端A经socket服务器中转后主动向客户端B发送文件
DEJA_VU3D - Cesium功能集 之 058-高德地图纠偏
![[BJDCTF2020]EasySearch](/img/60/464de3bcdda876171b9f61ad31bff1.png)


![[MRCTF2020]Ezpop(详解)](/img/19/920877ca36d1eda8d118637388ab05.png)




