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
This commit is contained in:
mark_story 2011-09-09 21:35:44 -04:00
parent fbc76f195f
commit 60981fcb4b

View file

@ -76,7 +76,7 @@ class JsHelper extends AppHelper {
* @var string
* @access public
*/
var $setVariable = APP_DIR;
var $setVariable = 'app';
/**
* Constructor - determines engine helper