-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update codeigniter-restserver and tests
codeigniter-restserver 2015/11/15 master abce915786a7667b9150105df27039b7e4209110
- Loading branch information
Showing
14 changed files
with
334 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
defined('BASEPATH') OR exit('No direct script access allowed'); | ||
|
||
class Rest_server extends CI_Controller { | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/* | ||
* English language | ||
*/ | ||
|
||
$lang['text_rest_invalid_api_key'] = 'Invalid API key %s'; // %s is the REST API key | ||
$lang['text_rest_invalid_credentials'] = 'Invalid credentials'; | ||
$lang['text_rest_ip_denied'] = 'IP denied'; | ||
$lang['text_rest_ip_unauthorized'] = 'IP unauthorized'; | ||
$lang['text_rest_unauthorized'] = 'Unauthorized'; | ||
$lang['text_rest_ajax_only'] = 'Only AJAX requests are allowed'; | ||
$lang['text_rest_api_key_unauthorized'] = 'This API key does not have access to the requested controller'; | ||
$lang['text_rest_api_key_permissions'] = 'This API key does not have enough permissions'; | ||
$lang['text_rest_api_key_time_limit'] = 'This API key has reached the time limit for this method'; | ||
$lang['text_rest_unknown_method'] = 'Unknown method'; | ||
$lang['text_rest_unsupported'] = 'Unsupported protocol'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.