Skip to content
Permalink
Browse files

Hardcoding 'app' in JsHelper

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 60981fcb4bedd3b8929caafc23031bde67313f7a
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/view/helpers/js.php
@@ -76,7 +76,7 @@ class JsHelper extends AppHelper {
* @var string
* @access public
*/
var $setVariable = APP_DIR;
var $setVariable = 'app';
/**
* Constructor - determines engine helper

0 comments on commit 60981fc

Please sign in to comment.
You can’t perform that action at this time.