Permalink
Browse files

Change config to use 3.2 Kohana::$config->load( ... )

  • Loading branch information...
1 parent 2dedf5c commit f94902371346abe1323635e143781eb9ad88a360 @dingyonglaw dingyonglaw committed Apr 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/controller/member.php
@@ -44,7 +44,7 @@ public function action_index()
$page->token = $this->get_token();
$page->member = $this->membership->get_member();
$page->login_box = new View('member/login_box');
- $page->login_box->providers = Kohana::config('membership.providers');
+ $page->login_box->providers = Kohana::$config->load('membership.providers');
}
/**
@@ -67,7 +67,7 @@ public function action_login($provider_name = null)
$this->template->body = $page = new View('member/login');
$page->login_box = new View('member/login_box');
- $page->login_box->providers = Kohana::config('membership.providers');
+ $page->login_box->providers = Kohana::$config->load('membership.providers');
}
/**

0 comments on commit f949023

Please sign in to comment.