- 715 名前:nobodyさん mailto:sage [2012/02/28(火) 17:13:46.37 ID:???]
- >711 です。
/lib/Cake/Network/CakeRequest.php に、おかしな箇所を見つけました。 下記引用の下から5行目、「$baseUrl」なんですが、どこでも宣言されていないのでif自体に意味がないようです。 protected function _base() { $dir = $webroot = null; $config = Configure::read('App'); extract($config); if (!isset($base)) { $base = $this->base; } if ($base !== false) { $this->webroot = $base . '/'; return $this->base = $base; } if (!$baseUrl) { //★ここを改編したらうまくいった //$base = dirname(env('PHP_SELF')); $base = '';
|

|