36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Hummingbird Anime Client
|
|
*
|
|
* An API client for Hummingbird to manage anime and manga watch lists
|
|
*
|
|
* @package HummingbirdAnimeClient
|
|
* @author Timothy J. Warren
|
|
* @copyright Copyright (c) 2015 - 2016
|
|
* @link https://github.com/timw4mail/HummingBirdAnimeClient
|
|
* @license MIT
|
|
*/
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// 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",
|
|
|
|
// Template file path
|
|
'view_path' => "{$APP_DIR}/views",
|
|
|
|
// Cache paths
|
|
'data_cache_path' => "{$APP_DIR}/cache",
|
|
'img_cache_path' => "{$ROOT_DIR}/public/images",
|
|
|
|
// Included config files
|
|
//'database' => require 'database.php',
|
|
'menus' => require 'menus.php',
|
|
'routes' => require 'routes.php',
|
|
]; |