Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Joomla 1.6 中知道 JFile 和 write 函数,但是 Joomla 2.5 也有类似的函数吗?我在 Joomla 文档中没有得到任何东西。
是的 - 它就在那里。
你可以在里面看到/libraries/joomla/filesystem/file.php
/libraries/joomla/filesystem/file.php
您可以使用以下代码片段导入它:
jimport( 'joomla.filesystem.file' );