Created
February 12, 2011 20:51
-
-
Save jeroenbourgois/824105 to your computer and use it in GitHub Desktop.
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
<?php // this php tag is only included for gist to detect the file and do syntax coloring :) | |
// Call default or custom access callback | |
if (call_user_func_array($method['access callback'], $access_arguments) != TRUE) { | |
return services_error(t('Access denied'), 401); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment