Current Directory: /home/astoriaah/www/templates/yootheme/vendor/yootheme/framework
Viewing File: /home/astoriaah/www/templates/yootheme/vendor/yootheme/framework/index.php
<?php
use YOOtheme\Util\File;
return [
'name' => 'yootheme/framework',
'main' => function ($app) {
$app->extend('view', function ($view, $app) {
$view->addFunction('url', [$app['url'], 'to']);
$view->addFunction('route', [$app['url'], 'route']);
});
if (!isset($app['path.cache'])) {
$app['path.cache'] = File::normalizePath("{$this->path}/../../../cache");
}
if ($level = ini_get('xdebug.max_nesting_level')) {
ini_set('xdebug.max_nesting_level', max($level, 256));
}
},
'require' => [
'yootheme/app',
'yootheme/asset',
'yootheme/view',
'yootheme/common',
'yootheme/joomla',
'yootheme/wordpress',
],
'include' => [
'modules/*/index.php',
'platforms/*/index.php',
]
];