there is another way i'm use it with many of projects ,
create database with table called "settings"
and make this table special for those options like " title\footer\last update\ blablalba....
and create one function return whole this table and do
example : echo $title; and put it anywhere you want to