I read the question
global variable for all controller and views
It tells about declaring a variable in the filters.php in the root folder, (Thought it was said it is not a good practice to declare in the filters.php file )I tried but didn't succeed. But i need to declare a variable in any file of the config folder that should be available to all controllers and views.
Where should i do this ?