当前位置:网站首页>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!
边栏推荐
- 概率论的学习和整理8: 几何分布和超几何分布
- 36-Jenkins-Job Migration
- [TA-Frost Wolf_may-"Hundred Talents Project"] Graphics 4.3 Real-time Shadow Introduction
- 关于#SQL#的迭代、父子结构查询问题,如何解决?
- BI业务分析思维:现金流量风控分析(二)信用、流动和投资风险
- C+ +核心编程
- [MRCTF2020] PYWebsite
- [GYCTF2020]EasyThinking
- 10 years of testing experience, worthless in the face of the biological age of 35
- Detailed explanation of Mysql's undo log
猜你喜欢
多列属性column元素的可见性:display、visibility、opacity、垂直对齐方式:vertical-align、z-index 越大越显示在上层
[BJDCTF2020] EasySearch
狗仔队:表面编辑多视点图像处理
商业智能BI业务分析思维:现金流量风控分析(一)营运资金风险
JeeSite新建报表
MySql index learning and use; (I think it is detailed enough)
C+ +核心编程
Haproxy搭建Web群集
Develop your own node package
Ali's local life's single-quarter revenue is 10.6 billion, Da Wenyu's revenue is 7.2 billion, and Cainiao's revenue is 12.1 billion
随机推荐
UE4 通过重叠事件开启门
Acid (ACID) Base (BASE) Principles for Database Design
机器学习概述
C++ core programming
UE4 通过互动(键盘按键)开门
Some conventional routines of program development (1)
1007 Climb Stairs (greedy | C thinking)
【测量学】速成汇总——摘录高数帮
[CISCN2019 华东南赛区]Web11
说说数据治理中常见的20个问题
【树莓派】树莓派调光
About the installation of sklearn library
iMedicalLIS listener (2)
SkiaSharp 之 WPF 自绘 粒子花园(案例版)
【8.2】代码源 - 【货币系统】【硬币】【新年的问题(数据加强版)】【三段式】
炎炎夏日教你利用小米智能家居配件+树莓派4接入Apple HomeKit
How do newcomers get started and learn software testing?
A 35-year-old software testing engineer with a monthly salary of less than 2W, resigns and is afraid of not finding a job, what should he do?
Bosses, I noticed that a mysql CDC connector parameters scan. The incremental. Sna
[GYCTF2020]EasyThinking