zend_loader 的 loadfile有關問題

來源:互聯網
上載者:User
zend_loader 的 loadfile問題
我需要在.\application\views\scripts\admin\index.phtml檔案中引用(require_once) .\application\views\scripts\global檔案夾下的aaa.phtml檔案。請問代碼該怎麼寫,手冊上有說明。但是我按照說明寫出來的總是不能實現功能,可能是我路徑沒寫對。



我php.ini中的路徑配置是include_path = "D:\php\wamp\www\framework1.1\application\views\scripts\global"

------解決方案--------------------
建議不要這樣使用。不符合設計 規範。
如果要實現view包含檔案,可以採用
http://blog.csdn.net/mengxiangbaidu/article/details/7584477
四、地區助手(Partial Helper)
或者合理布局達到目的
http://blog.csdn.net/mengxiangbaidu/article/details/7669700
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.