Checked PSR-1: Basic Coding Standard & type error
This commit is contained in:
@ -7,11 +7,13 @@ include_once('./_common.php');
|
||||
// clean the output buffer
|
||||
ob_end_clean();
|
||||
|
||||
if(!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
|
||||
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE)) {
|
||||
die('사용할 수 없는 기능입니다.');
|
||||
}
|
||||
|
||||
if ($is_admin != 'super')
|
||||
if ($is_admin != 'super') {
|
||||
die('최고관리자만 접근 가능합니다.');
|
||||
}
|
||||
|
||||
include_once(G5_PLUGIN_PATH.'/browscap/Browscap.php');
|
||||
|
||||
@ -20,4 +22,4 @@ $browscap->updateMethod = 'cURL';
|
||||
$browscap->cacheFilename = 'browscap_cache.php';
|
||||
$browscap->updateCache();
|
||||
|
||||
die('');
|
||||
die('');
|
||||
|
||||
Reference in New Issue
Block a user