Welcome to the Cookbook

loading...

11.1.3 Loading Files

To use vendor libraries/files which do not follow the cake naming convention or are nested in subdirectories in vendors use

App::import('vendor', 'aUniqueIdentifier', array('file' =>'path/relative/to/vendor/file.php'));
  1. App::import('vendor', 'aUniqueIdentifier', array('file' =>'path/relative/to/vendor/file.php'));

Returns true if successful