Skip to content

Commit

Permalink
修改了一处可能的作用域问题
Browse files Browse the repository at this point in the history
  • Loading branch information
oott123 committed Oct 20, 2013
1 parent 8d632e4 commit cbd7cc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _bpcs_files_/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function du_init($quickinit = false){
$appkey = ($appkey) ? $appkey : BPCSU_KEY;
file_put_contents(CONFIG_DIR.'/appkey',$appkey);
echon('App API Key has been set to '.$appkey.' . ');
$appsec = false;//作用域
if($appkey == BPCSU_KEY){
echon('Demo key detected. Using default API Secret.');
$appsec=BPCSU_SEC;
Expand Down

0 comments on commit cbd7cc3

Please sign in to comment.