HummingBirdAnimeClient/app/appConf/base_config.php

39 lines
1.1 KiB
PHP
Raw Normal View History

2017-02-15 16:13:32 -05:00
<?php declare(strict_types=1);
2015-11-16 11:40:01 -05:00
/**
2017-02-15 16:13:32 -05:00
* Hummingbird Anime List Client
2015-11-16 11:40:01 -05:00
*
2017-02-15 16:13:32 -05:00
* An API client for Kitsu and MyAnimeList to manage anime and manga watch lists
2015-11-16 11:40:01 -05:00
*
2017-02-15 16:13:32 -05:00
* PHP version 7
2016-08-30 10:01:18 -04:00
*
2015-11-16 11:40:01 -05:00
* @package HummingbirdAnimeClient
2016-08-30 10:01:18 -04:00
* @author Timothy J. Warren <tim@timshomepage.net>
2017-02-15 16:13:32 -05:00
* @copyright 2015 - 2017 Timothy J. Warren
2016-08-30 10:01:18 -04:00
* @license http://www.opensource.org/licenses/mit-license.html MIT License
2017-02-15 16:13:32 -05:00
* @version 4.0
2015-11-16 11:40:01 -05:00
* @link https://github.com/timw4mail/HummingBirdAnimeClient
*/
2017-02-15 16:13:32 -05:00
// ----------------------------------------------------------------------------
// Lower level configuration
//
// You shouldn't generally need to change anything below this line
// ----------------------------------------------------------------------------
$APP_DIR = realpath(__DIR__ . '/../');
$ROOT_DIR = realpath("{$APP_DIR}/../");
$base_config = [
'asset_dir' => "{$ROOT_DIR}/public",
2015-09-17 23:11:18 -04:00
// Template file path
'view_path' => "{$APP_DIR}/views",
2015-09-17 23:11:18 -04:00
// Cache paths
'data_cache_path' => "{$APP_DIR}/cache",
'img_cache_path' => "{$ROOT_DIR}/public/images",
// Included config files
'menus' => require 'menus.php',
'routes' => require 'routes.php',
];