EX: we have a
global $extentions;
$extentions = array(
‘jpg’ => ‘jpg’,
‘jpeg’ => ‘jpeg’,
‘gif’ => ‘gif’,
‘png’ => ‘png’
);
and we would like to access it ( $extentions) in view, element, layout, model, controller, I would like to put those variables and constant in one file, where (which folder) can we put the file how we access each variables in the file? and how can we do this without using Configure::read() and Configure::write()?