This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/config/application.php

34 lines
728 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<?php
namespace MyImouto;
class Application extends \Rails\Application\Base
{
private $booruConfig;
public function booruConfig()
{
return $this->booruConfig;
}
protected function init()
{
require __DIR__ . '/default_config.php';
require __DIR__ . '/config.php';
require __DIR__ . '/../lib/functions.php';
$this->booruConfig = new LocalConfig();
$this->I18n()->loadLocale('my-imouto');
}
protected function initConfig($config)
{
$config->assets->enabled = true;
$config->action_view->layout = 'default';
$config->plugins = [
'Rails\WillPaginate'
];
}
}