Spade
Mini Shell
| Directory:~$ /proc/self/root/home/lmsyaran/public_html/j3/templates/g5_hydrogen/includes/ |
| [Home] [System Details] [Kill Me] |
<?php
/**
* @package Gantry5
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/
class_exists('\\Gantry\\Framework\\Gantry') or die;
// Define the template.
class GantryTheme extends \Gantry\Framework\Theme {}
// Initialize theme stream.
$gantry['platform']->set(
'streams.gantry-theme.prefixes',
['' => [
"gantry-themes://{$gantry['theme.name']}/custom",
"gantry-themes://{$gantry['theme.name']}",
"gantry-themes://{$gantry['theme.name']}/common"
]]
);
// Define Gantry services.
$gantry['theme'] = function ($c) {
return new GantryTheme($c['theme.path'],
$c['theme.name']);
};