From 8b9d9b1b12df64b7d228d0a222844cfe6306de06 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 30 Jun 2010 20:37:09 -0400 Subject: [PATCH] Removing literal '/' for DS which works better under windows. --- cake/dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 651789d8e..3d9d5663b 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -583,7 +583,7 @@ class Dispatcher extends Object { if ($parts[0] === 'theme') { $themeName = $parts[1]; unset($parts[0], $parts[1]); - $fileFragment = implode('/', $parts); + $fileFragment = implode(DS, $parts); $path = App::themePath($themeName) . 'webroot' . DS; if (file_exists($path . $fileFragment)) { @@ -592,7 +592,7 @@ class Dispatcher extends Object { } else { $plugin = $parts[0]; unset($parts[0]); - $fileFragment = implode('/', $parts); + $fileFragment = implode(DS, $parts); $pluginWebroot = App::pluginPath($plugin) . 'webroot' . DS; if (file_exists($pluginWebroot . $fileFragment)) { $assetFile = $pluginWebroot . $fileFragment;