Add setting option to disable private projects

This commit is contained in:
Frederic Guillot
2016-02-13 12:39:49 -05:00
parent 5d20b93b3a
commit 567d623446
31 changed files with 91 additions and 3 deletions

View File

@@ -17,11 +17,12 @@ class App extends Base
*
* @access public
* @param string $param
* @param mixed $default_value
* @return mixed
*/
public function config($param)
public function config($param, $default_value = '')
{
return $this->config->get($param);
return $this->config->get($param, $default_value);
}
/**