checkup.php.svn-base

来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 35 行

SVN-BASE
35
字号
<?phprequire_once('../config/dmsDefaults.php');$config = KTConfig::getSingleton();$cacheEnabled = $config->get('cache/cacheEnabled')?'The cache appears to be enabled. This is known to cause problems with the webservice. Please disable it.':'OK';$uploadsDir = $config->get('webservice/uploadDirectory');if (empty($uploadsDir)) $uploadsDir = 'The webservice/uploadDirectory setting is blank in the config.ini. Please configure it to an appropriate setting.';$uploadsExists = !is_dir($uploadsDir)?'The upload directory does not exist.':'OK';$uploadsWritable = !is_writable($uploadsDir)?'The upload directory is not writable.':'OK';?><B>Basic Web Service Diagnosis</b><table><tr>	<td>KnowledgeTree Cache</td>	<td><?php print $cacheEnabled?></td></tr><tr>	<td>Upload Directory</td>	<td><?php print $uploadsDir?></td></tr><tr>	<td>Upload Directory Exists</td>	<td><?php print $uploadsExists?></td></tr><tr>	<td>Upload Directory Writable</td>	<td><?php print $uploadsWritable?></td></tr></table>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?