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/boot.php

30 lines
496 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<?php
/**
* Working environment.
*/
if (!defined('RAILS_ENV')) {
define('RAILS_ENV', 'production');
}
/**
* Application's root directory.
*/
define('RAILS_ROOT', dirname(__DIR__));
/**
* Path to Rails.
*/
2013-10-27 06:35:20 +01:00
$railsPath = __DIR__ . '/../vendor/myimouto/railsphp/lib/Rails';
2013-10-27 01:06:58 +02:00
/**
* Load and initialize Rails.
*/
require $railsPath . '/Rails.php';
Rails::initialize();
/**
* Load and initialize application.
*/
require __DIR__ . '/application.php';
MyImouto\Application::initialize();