Project

General

Profile

« Previous | Next » 

Revision 829322b3

Added by Christian McDonald over 2 years ago

Rector some direct config gets with complex paths.

View differences:

src/usr/local/www/index.php
286 286
	##find custom configurations of a particular widget and load its info to $pconfig
287 287
	foreach ($widgets as $widgetname => $widgetconfig) {
288 288
		if ($config['widgets'][$widgetname . '-config']) {
289
			$pconfig[$widgetname . '-config'] = $config['widgets'][$widgetname . '-config'];
289
			$pconfig[$widgetname . '-config'] = config_get_path("widgets/{$widgetname}-config");
290 290
		}
291 291
	}
292 292
}

Also available in: Unified diff