mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
fbc76f195f
commit
60981fcb4b
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class JsHelper extends AppHelper {
|
|||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
var $setVariable = APP_DIR;
|
||||
var $setVariable = 'app';
|
||||
|
||||
/**
|
||||
* Constructor - determines engine helper
|
||||
|
|
Loading…
Add table
Reference in a new issue