<?php // start config, dir is the directory where the ini-files are found $config = Config::singleton($dir); // retrieve setting $setting = Config::getSetting('site/display_errors') ?>