本文整理汇总了PHP中OC_Mount_Config::checksmbclient方法的典型用法代码示例。如果您正苦于以下问题:PHP OC_Mount_Config::checksmbclient方法的具体用法?PHP OC_Mount_Config::checksmbclient怎么用?PHP OC_Mount_Config::checksmbclient使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类OC_Mount_Config
的用法示例。
在下文中一共展示了OC_Mount_Config::checksmbclient方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: checkDependencies
/**
* check dependencies
*/
public static function checkDependencies()
{
$l = new OC_L10N('files_external');
$txt = '';
if (!OC_Util::runningOnWindows()) {
if (!OC_Mount_Config::checksmbclient()) {
$txt .= $l->t('<b>Warning:</b> "smbclient" is not installed. Mounting of CIFS/SMB shares is not possible. Please ask your system administrator to install it.') . '<br />';
}
}
if (!OC_Mount_Config::checkphpftp()) {
$txt .= $l->t('<b>Warning:</b> The FTP support in PHP is not enabled or installed. Mounting of FTP shares is not possible. Please ask your system administrator to install it.') . '<br />';
}
if (!OC_Mount_Config::checkcurl()) {
$txt .= $l->t('<b>Warning:</b> The Curl support in PHP is not enabled or installed. Mounting of ownCloud / WebDAV or GoogleDrive is not possible. Please ask your system administrator to install it.') . '<br />';
}
return $txt;
}