Location: PHPKode > projects > Anchor CMS > anchor-cms-0.8/anchor/functions/config.php
<?php

/**
	Functions for theme configuration
*/
function set_theme_options($options, $value = null) {
	if( ! is_array($options)) {
		$options = array($options => $value);
	}

	// existsing options
	$current = Config::get('theme', array());

	// merge theme config
	Config::set('theme', array_merge($current, $options));
}

function theme_option($option, $default = '') {
	return Config::get('theme.' . $option, $default);
}
Return current item: Anchor CMS