File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ public function _remap($object_called, $arguments)
170170 // Get that useless shitty key out of here
171171 if (config_item ('rest_enable_keys ' ) AND $ use_key AND $ this ->_allow === FALSE )
172172 {
173- if (config_item ('rest_enable_logging ' ) AND $ log_method )
173+ if (config_item ('rest_enable_logging ' ) AND $ log_method )
174174 {
175175 $ this ->_log_request ();
176176 }
@@ -406,9 +406,8 @@ protected function _detect_method()
406406
407407 protected function _detect_api_key ()
408408 {
409-
410- // Get the api key name variable set in the rest config file
411- $ api_key_variable = config_item ('rest_key_name ' );
409+ // Get the api key name variable set in the rest config file
410+ $ api_key_variable = config_item ('rest_key_name ' );
412411
413412 // Work out the name of the SERVER entry based on config
414413 $ key_name = 'HTTP_ ' . strtoupper (str_replace ('- ' , '_ ' , $ api_key_variable ));
You can’t perform that action at this time.
0 commit comments