2015-06-26 12:03:42 -04:00
|
|
|
<?php
|
2015-11-16 11:40:01 -05:00
|
|
|
/**
|
|
|
|
* Hummingbird Anime Client
|
|
|
|
*
|
|
|
|
* An API client for Hummingbird to manage anime and manga watch lists
|
|
|
|
*
|
|
|
|
* @package HummingbirdAnimeClient
|
|
|
|
* @author Timothy J. Warren
|
2016-01-04 16:58:33 -05:00
|
|
|
* @copyright Copyright (c) 2015 - 2016
|
2015-11-16 11:40:01 -05:00
|
|
|
* @link https://github.com/timw4mail/HummingBirdAnimeClient
|
|
|
|
* @license MIT
|
|
|
|
*/
|
|
|
|
|
2015-06-26 12:03:42 -04:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Lower level configuration
|
|
|
|
//
|
|
|
|
// You shouldn't generally need to change anything below this line
|
|
|
|
// ----------------------------------------------------------------------------
|
2016-01-06 15:44:40 -05:00
|
|
|
$APP_DIR = realpath(__DIR__ . '/../');
|
|
|
|
$ROOT_DIR = realpath("{$APP_DIR}/../");
|
|
|
|
|
2015-06-26 12:03:42 -04:00
|
|
|
$base_config = [
|
2016-02-10 17:30:45 -05:00
|
|
|
'asset_dir' => "{$ROOT_DIR}/public",
|
|
|
|
|
2015-09-17 23:11:18 -04:00
|
|
|
// Template file path
|
2016-01-06 15:44:40 -05:00
|
|
|
'view_path' => "{$APP_DIR}/views",
|
2015-09-17 23:11:18 -04:00
|
|
|
|
2015-06-26 12:03:42 -04:00
|
|
|
// Cache paths
|
2016-01-06 15:44:40 -05:00
|
|
|
'data_cache_path' => "{$APP_DIR}/cache",
|
|
|
|
'img_cache_path' => "{$ROOT_DIR}/public/images",
|
2015-06-26 12:03:42 -04:00
|
|
|
|
|
|
|
// Included config files
|
2016-02-10 17:30:45 -05:00
|
|
|
//'database' => require 'database.php',
|
2016-01-06 15:44:40 -05:00
|
|
|
'menus' => require 'menus.php',
|
|
|
|
'routes' => require 'routes.php',
|
2015-06-26 12:03:42 -04:00
|
|
|
];
|