📄 chmod.php
字号:
<?php
!function_exists('adminmsg') && exit('Forbidden');
@include_once(D_P."data/style/$skin.php");
$filepath = array(
D_P.'data',
D_P.'data/sql_config.php',
D_P.'data/bbscache',
D_P.'data/groupdb',
D_P.'data/style',
R_P.$attachname,
R_P.'htm_data',
R_P."template/$tplpath/header.htm",
R_P.$picpath,
R_P."$picpath/upload",
R_P."$picpath/cn_img"
);
$filemode = array();
foreach ($filepath as $key => $value){
if (!file_exists($value)){
$filemode[$key] = 1;
} elseif (!is_writable($value)){
$filemode[$key] = 2;
} else {
$filemode[$key] = 0;
}
}
include PrintEot('chmod');exit;
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -