In the Controller A.php:
I set global $W; $W['NAME'] = 1; in function initialize();
In the other Controller B.php:
I read the global $W;var_dump($W); in fucntion anyAction()
WHY it dump NULL?
In the Controller A.php:
I set global $W; $W['NAME'] = 1; in function initialize();
In the other Controller B.php:
I read the global $W;var_dump($W); in fucntion anyAction()
WHY it dump NULL?