本文整理汇总了PHP中DeleteDirFilesEx函数的典型用法代码示例。如果您正苦于以下问题:PHP DeleteDirFilesEx函数的具体用法?PHP DeleteDirFilesEx怎么用?PHP DeleteDirFilesEx使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了DeleteDirFilesEx函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: UnInstallFiles
function UnInstallFiles()
{
if ($_ENV["COMPUTERNAME"] != 'BX') {
DeleteDirFilesEx("/bitrix/components/primepix/");
}
return true;
}
示例2: UnInstallFiles
public function UnInstallFiles()
{
$result = true;
$result = $result && DeleteDirFilesEx('/bitrix/components/rees46');
$result = $result && DeleteDirFilesEx('/include/rees46-handler.php');
return $result;
}
示例3: uninstallFiles
public function uninstallFiles()
{
DeleteDirFilesEx("/bitrix/components/" . $this->namespaceFolder);
DeleteDirFilesEx("/bitrix/php_interface/include/sale_payment/devtm.begateway");
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
return true;
}
示例4: UnInstallFiles
function UnInstallFiles()
{
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
DeleteDirFilesEx("/bitrix/themes/.default/start_menu/anmaslov.stall");
return true;
}
示例5: UnInstallFiles
function UnInstallFiles()
{
DeleteDirFilesEx("/bitrix/php_interface/include/sale_payment/rficb.payment");
DeleteDirFilesEx("/bitrix/tools/rficb.payment/");
DeleteDirFilesEx("/bitrix/themes/.default/icons/rficb/");
return true;
}
示例6: UnInstallFiles
public function UnInstallFiles()
{
DeleteDirFilesEx("/bitrix/components/pr/pwd");
COption::RemoveOption($this->MODULE_ID);
return true;
}
示例7: UnInstallFiles
function UnInstallFiles()
{
DeleteDirFilesEx("/bitrix/components/digroup/slider_new");
DeleteDirFilesEx("/bitrix/js/dg_slider_new/");
//DeleteDirFilesEx("/bitrix/images/dg_slider_new/");
return true;
}
示例8: UnInstallFiles
function UnInstallFiles()
{
if ($_ENV["COMPUTERNAME"] != 'BX') {
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/scale/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
DeleteDirFilesEx("/bitrix/js/scale/");
}
return true;
}
示例9: UnInstallFiles
function UnInstallFiles()
{
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/translate/install/admin", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin");
DeleteDirFilesEx("/bitrix/images/translate/");
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/translate/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/themes/.default");//css
DeleteDirFilesEx("/bitrix/themes/.default/icons/translate/");//icons
return true;
}
示例10: UnInstallFiles
function UnInstallFiles()
{
if ($_ENV["COMPUTERNAME"] != 'BX') {
DeleteDirFilesEx('/mobile');
DeleteDirFilesEx('/bitrix/templates/mobile_app/');
}
return true;
}
示例11: DoUninstall
function DoUninstall()
{
DeleteDirFilesEx('/bitrix/js/' . self::MODULE_ID);
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . self::MODULE_ID . "/install/public_html/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default");
UnRegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', self::MODULE_ID, 'UserDataColor', 'GetIBlockPropertyDescription');
// UnRegisterModuleDependences('main', 'OnUserTypeBuildList', self::MODULE_ID, 'UserDataColor', 'GetUserTypeDescription');
UnRegisterModule(self::MODULE_ID);
}
示例12: UnInstallFiles
function UnInstallFiles()
{
if ($_ENV["COMPUTERNAME"] != 'BX') {
DeleteDirFilesEx("/bitrix/js/socialservices/");
DeleteDirFilesEx("/bitrix/images/socialservices/");
DeleteDirFilesEx("/bitrix/tools/oauth/");
}
return true;
}
示例13: UnInstallFiles
function UnInstallFiles()
{
DeleteDirFilesEx("/bitrix/components/beono/yandexfotki");
DeleteDirFilesEx("/bitrix/components/beono/yandexfotki.album");
DeleteDirFilesEx("/bitrix/components/beono/yandexfotki.albums");
DeleteDirFilesEx("/bitrix/components/beono/yandexfotki.photo");
DeleteDirFilesEx("/bitrix/templates/.default/page_templates/beono.yandexfotki");
return true;
}
示例14: DoUninstall
public function DoUninstall()
{
COption::RemoveOption('bx_moddev');
DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_moddev/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
// DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_moddev/install/components', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/components');
DeleteDirFilesEx("/bitrix/js/bx_moddev");
UnRegisterModule('bx_moddev');
return true;
}
示例15: DoUninstall
/**
* Удаляем модуль
*/
public function DoUninstall()
{
/* if(!$this->UnInstallDB()){
return;
} */
DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/{$this->MODULE_ID}/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
DeleteDirFilesEx('/bitrix/components/citfact/citfact.orderclick/');
UnRegisterModule($this->MODULE_ID);
}