Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created July 27, 2009 11:13
Show Gist options
  • Save slywalker/156146 to your computer and use it in GitHub Desktop.
Save slywalker/156146 to your computer and use it in GitHub Desktop.
Index: /cakephp/1.2.x.x/cake/dispatcher.php
===================================================================
--- /cakephp/1.2.x.x/cake/dispatcher.php (リビジョン 8256)
+++ /cakephp/1.2.x.x/cake/dispatcher.php (作業コピー)
@@ -601,6 +601,9 @@
$pos = strpos($url, $type . '/');
} else {
$pos = strpos($url, 'img/');
+ if ($pos === false) {
+ $pos = strpos($url, 'css/');
+ }
}
$isAsset = true;
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment