Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 21 additions and 4 deletions
Showing only changes of commit f8f499520e - Show all commits

View File

@ -0,0 +1,19 @@
################################################################################
# Route config
#
# Default views and paths
################################################################################
# Path to public directory, where images/css/javascript are located,
# appended to the url
asset_path = "/public"
# Which list should be the default?
default_list = "anime" # anime or manga
# Default pages for anime/manga
default_anime_list_path = "watching" # watching|plan_to_watch|on_hold|dropped|completed|all
default_manga_list_path = "reading" # reading|plan_to_read|on_hold|dropped|completed|all
# Default view type (cover_view/list_view)
default_view_type = "cover_view"

View File

@ -71,11 +71,9 @@ class RoutingBase {
*/ */
public function __get($key) public function __get($key)
{ {
$routingConfig =& $this->routeConfig; if (array_key_exists($key, $this->routeConfig))
if (array_key_exists($key, $routingConfig))
{ {
return $routingConfig[$key]; return $this->routeConfig[$key];
} }
} }