I'm making a simple global get configuration.
try to make a index.php
function config( $string ){
require 'configuration.php';
return $config[$string];
}
echo config('hello');
echo config('hello');
and a configuration.php
$config['hello'] = TRUE;
and yes as we can see it outputs 1.
but when we see the source, it will give us something like
sorry for the stupid question, but I just cant stop asking.
Thanks for looking in.