fixed config bugs in rest client

This commit is contained in:
Stefan Puraner
2016-04-05 11:35:06 +02:00
parent 3c1bcfa999
commit bc427f7d2b
1129 changed files with 15 additions and 180436 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ $autoload['packages'] = array();
|
| $autoload['libraries'] = array('user_agent' => 'ua');
*/
//$autoload['libraries'] = array();
$autoload['libraries'] = array('session');
$autoload['libraries'] = array();
//$autoload['libraries'] = array('session');
/*
| -------------------------------------------------------------------
+1 -1
View File
@@ -509,4 +509,4 @@ $config['rest_ajax_only'] = FALSE;
| Language file to load from the language directory
|
*/
$config['rest_language'] = 'en_US';
$config['rest_language'] = 'en-US';
+1 -1
View File
@@ -22,7 +22,7 @@ class Person extends REST_Controller
/**
* Person API constructor.
*/
private function __construct()
public function __construct()
{
parent::__construct();
+1 -1
View File
@@ -10,7 +10,7 @@ class Person_model extends DB_Model
{
if (is_null($person_id))
{
$query = $this->db->get_where('public.tbl_person', array('vorname' => 'Christian'));
$query = $this->db->get_where('public.tbl_person', array());
return $query->result_object();
}