Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
remove namespace
Browse files Browse the repository at this point in the history
remove namespace
  • Loading branch information
徐长龙 committed Jun 28, 2017
1 parent a8a6f9a commit a7ef475
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ init on the bootstrap of php project
RagnarSDK::setLogLevel(RagnarConst::LOG_TYPE_INFO);
// filter url
\Adinf\Ragnar\RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
if (trim($url) == "") {
return "";
}
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ nginx -s reload
RagnarSDK::setLogLevel(RagnarConst::LOG_TYPE_INFO);
// url过滤回调函数
\Adinf\Ragnar\RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
if (trim($url) == "") {
return "";
}
Expand Down
2 changes: 1 addition & 1 deletion example/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//\Adinf\RagnarSDK\RagnarSDK::init("ragnar_projectname");

// url过滤回调函数
\Adinf\Ragnar\RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
if (trim($url) == "") {
return "";
}
Expand Down
2 changes: 1 addition & 1 deletion src/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
ini_set("display_errors", "On");

// url过滤回调函数
\Adinf\Ragnar\RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
RagnarSDK::setUrlFilterCallback(function ($url, $hashquery) {
if (trim($url) == "") {
return "";
}
Expand Down

0 comments on commit a7ef475

Please sign in to comment.