vendor() 関数は非推奨になりました。vendor ファイルはこれまでと同様に App::import() を使用して読み込むようになりました。構文はわずかに異なり、引数が追加されています。これは vendor ファイルの構造は大きく異なっていたり、すべての vendor ファイルにクラスが含まれているとは限らないためです。 以下は、いくつかのパス構造から vendor ファイルをどのように読み込むかという例です。vendor ファイルは、vendor フォルダにあると仮定します。 vendors/geshi.php を読み込むには App::import('Vendor', 'geshi'); App::import('Vendor', 'geshi'); vendors/flickr/flickr.php を読み込むには App::import('Vendor', 'fl