Skip to content

Commit 131e2a8

Browse files
author
Andrew Drane
committed
Use Cake's vendor import functionality for more conventional behavior
1 parent 902489a commit 131e2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mustache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
*/
3232

33-
require_once ROOT . '/app/vendors/mustache/Mustache.php';
33+
App::import( 'Vendor', 'Mustache', array( 'file' => 'mustache' . DS . 'Mustache.php') );
3434

3535
class MustacheHelper extends AppHelper {
3636
var $ext = 'mustache'; //Extention for the templates. 'mustache' unless noted otherwise

0 commit comments

Comments
 (0)