Changing file_get/echo to include() for outputting content loaded from /vendors, to allow embedded PHP

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3166 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2006-06-23 23:13:16 +00:00
parent 77d92d58c1
commit b785a26d5f

View file

@ -86,7 +86,7 @@
if (in_array($requestPath[0], array_keys($folders))) {
if (file_exists(VENDORS . join(DS, $requestPath))) {
header('Content-type: ' . $folders[$requestPath[0]]);
e(file_get_contents(VENDORS . join(DS, $requestPath)));
include (VENDORS . join(DS, $requestPath));
exit();
}
}