From b785a26d5f243ce6e10abd7ad0e144de70ce650c Mon Sep 17 00:00:00 2001 From: nate Date: Fri, 23 Jun 2006 23:13:16 +0000 Subject: [PATCH] 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 --- cake/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/bootstrap.php b/cake/bootstrap.php index 03c2559d6..0a19a3d29 100644 --- a/cake/bootstrap.php +++ b/cake/bootstrap.php @@ -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(); } }