Skip to content

Commit

Permalink
Hardcoding 'app' in JsHelper
Browse files Browse the repository at this point in the history
Applying patch from 'Jelle Henkens'.
Hardcoding this value fixes issues where the variable name
would change if you renamed your app directory.  Fixes environment
specific bugs.
Fixes #1981
  • Loading branch information
markstory committed Sep 10, 2011
1 parent fbc76f1 commit 60981fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/view/helpers/js.php
Expand Up @@ -76,7 +76,7 @@ class JsHelper extends AppHelper {
* @var string
* @access public
*/
var $setVariable = APP_DIR;
var $setVariable = 'app';

/**
* Constructor - determines engine helper
Expand Down

0 comments on commit 60981fc

Please sign in to comment.