{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/fis/issues/323","labels_url":"https://api.github.com/repos/fex-team/fis/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis/issues/323/comments","events_url":"https://api.github.com/repos/fex-team/fis/issues/323/events","html_url":"https://github.com/fex-team/fis/issues/323","id":56618539,"number":323,"title":"构建的时候template文件夹怎么扩展html资源定位功能？","user":{"login":"fernandou","id":9527154,"avatar_url":"https://avatars.githubusercontent.com/u/9527154?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandou","html_url":"https://github.com/fernandou","followers_url":"https://api.github.com/users/fernandou/followers","following_url":"https://api.github.com/users/fernandou/following{/other_user}","gists_url":"https://api.github.com/users/fernandou/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandou/subscriptions","organizations_url":"https://api.github.com/users/fernandou/orgs","repos_url":"https://api.github.com/users/fernandou/repos","events_url":"https://api.github.com/users/fernandou/events{/privacy}","received_events_url":"https://api.github.com/users/fernandou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-05T02:24:06Z","updated_at":"2015-02-05T07:06:45Z","closed_at":null,"body":"我想问一下构建的时候所有的php文件必须在根目录吗？\r\n我在tpls文件夹里面放了header.php或者footer.php,怎样扩展这两个文件的html资源定位功能？\r\n谢谢"},"comment":{"url":"https://api.github.com/repos/fex-team/fis/issues/comments/73003576","html_url":"https://github.com/fex-team/fis/issues/323#issuecomment-73003576","issue_url":"https://api.github.com/repos/fex-team/fis/issues/323","id":73003576,"user":{"login":"fernandou","id":9527154,"avatar_url":"https://avatars.githubusercontent.com/u/9527154?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandou","html_url":"https://github.com/fernandou","followers_url":"https://api.github.com/users/fernandou/followers","following_url":"https://api.github.com/users/fernandou/following{/other_user}","gists_url":"https://api.github.com/users/fernandou/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandou/subscriptions","organizations_url":"https://api.github.com/users/fernandou/orgs","repos_url":"https://api.github.com/users/fernandou/repos","events_url":"https://api.github.com/users/fernandou/events{/privacy}","received_events_url":"https://api.github.com/users/fernandou/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T07:06:44Z","updated_at":"2015-02-05T07:06:44Z","body":"你好，比方说我的项目目录是app，所有的php都在app下面（除了两个template在app下面的tpls里面）；\r\n然后我构建的时候：cd app；\r\n执行fis release；\r\n但是tpls里面的php（app/tpls/footer.php）文件不会拥有app下面的php（app/index.php）文件的资源定位功能；\r\n这个要怎么解决；\r\n就是说我在index.php里面是<?php include 'tpls/footer.php'; ?>；"}}