- Changed helper and language autoload

- Changed language config
- Removed never used constants
- Changed rest_language in rest config file
- Adapted models that where extending FHC_Model
- Adapted code to load hlp_return_object
- Adapted code to use exit status codes constants
This commit is contained in:
Paolo
2019-04-25 12:09:31 +02:00
parent 1fe9a95236
commit 699aca74d1
18 changed files with 97 additions and 144 deletions
+2 -2
View File
@@ -151,7 +151,7 @@ class Message_model extends DB_Model
}
else
{
return error($this->db->error(), FHC_DB_ERROR);
return error($this->db->error(), EXIT_DATABASE);
}
}
@@ -168,7 +168,7 @@ class Message_model extends DB_Model
}
else
{
return error($this->db->error(), FHC_DB_ERROR);
return error($this->db->error(), EXIT_DATABASE);
}
}