2015-06-24 16:01:35 -04:00
|
|
|
<?php
|
|
|
|
/**
|
2015-11-16 11:40:01 -05:00
|
|
|
* Hummingbird Anime Client
|
2015-06-24 16:01:35 -04:00
|
|
|
*
|
2015-11-16 11:40:01 -05:00
|
|
|
* An API client for Hummingbird to manage anime and manga watch lists
|
2015-06-24 16:01:35 -04:00
|
|
|
*
|
2015-11-16 11:40:01 -05:00
|
|
|
* @package HummingbirdAnimeClient
|
|
|
|
* @author Timothy J. Warren
|
|
|
|
* @copyright Copyright (c) 2015
|
|
|
|
* @link https://github.com/timw4mail/HummingBirdAnimeClient
|
|
|
|
* @license MIT
|
2015-06-24 16:01:35 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
// --------------------------------------------------------------------------
|
|
|
|
|
2015-06-26 12:03:42 -04:00
|
|
|
/* $config = */require 'config.php';
|
2015-06-24 16:01:35 -04:00
|
|
|
|
2015-06-26 12:03:42 -04:00
|
|
|
// Should we use myth to preprocess?
|
|
|
|
$use_myth = FALSE;
|
2015-06-24 16:01:35 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| CSS Folder
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The folder where css files exist, in relation to the document root
|
|
|
|
|
|
|
|
|
*/
|
2015-09-14 15:49:20 -04:00
|
|
|
$css_root = $config['asset_dir'] . '/css/';
|
2015-06-24 16:01:35 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Path from
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Path fragment to rewrite in css files
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
$path_from = '';
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Path to
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The path fragment replacement for the css files
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
$path_to = '';
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| JS Folder
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The folder where javascript files exist, in relation to the document root
|
|
|
|
|
|
|
|
|
*/
|
2015-09-14 15:49:20 -04:00
|
|
|
$js_root = $config['asset_dir'] . '/js/';
|