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

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

大家讲道理
大家讲道理

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

répondre à tous(1)
PHPzhong

function.php

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!