Thinkphp3.2 Common/common.php下定义函数
大家讲道理
大家讲道理 2017-04-10 14:38:06
0
1
216

Thinkphp3.2 MyProject/Common/common.php或者在MyProject/Commom/Common/common.php下定义的函数不能在Controller或者在模板中使用,
系统提示报Call to undefined function,我开启了调试模式,同时也试过删除了Runtime。
请问我要在TP3.2中使用自定义函数应该放在哪(3.2版)? 希望了解的朋友们帮个忙,谢谢了。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

Antworte allen(1)
PHPzhong

function.php

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!