当前位置: 首页>>代码示例>>PHP>>正文


PHP DeleteDirFiles函数代码示例

本文整理汇总了PHP中DeleteDirFiles函数的典型用法代码示例。如果您正苦于以下问题:PHP DeleteDirFiles函数的具体用法?PHP DeleteDirFiles怎么用?PHP DeleteDirFiles使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了DeleteDirFiles函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: DoUninstall

	public function DoUninstall() {
		global $DB, $DBType;

		COption::RemoveOption($this->MODULE_ID);
		UnRegisterModule($this->MODULE_ID);
		DeleteDirFiles(
			$_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_ichannels/install/admin', 
			$_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin'
		);
		DeleteDirFiles(
			$_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_ichannels/install/js', 
			$_SERVER['DOCUMENT_ROOT'] . '/bitrix/js/bx_ichannels'
		);

		UnRegisterModuleDependences(
			'bx_ichannels', 
			'getImporters', 
			'bx_ichannels', 
			'CIChannelsRss', 
			'getImporter'
		);

		UnRegisterModuleDependences(
			'bx_ichannels',
			'getRssMappers',
			'bx_ichannels',
			'CIChannelsRssMapperByLink',
			'getRssMapper'
		);

		$this->errors = $DB->RunSQLBatch($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/bx_ichannels/install/db/' . $DBType . '/uninstall.sql');
	}
开发者ID:ASDAFF,项目名称:bx_ichannels,代码行数:32,代码来源:index.php

示例2: 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;
 }
开发者ID:anmaslov,项目名称:stall,代码行数:7,代码来源:index.php

示例3: DoUninstall

 public function DoUninstall()
 {
     COption::RemoveOption('imageimport');
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/imageimport/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     UnRegisterModule('imageimport');
     return true;
 }
开发者ID:ASDAFF,项目名称:bx_imageimport,代码行数:7,代码来源:index.php

示例4: 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;
 }
开发者ID:dimabresky,项目名称:bitrix-beGateway-module,代码行数:7,代码来源:index.php

示例5: DoUninstall

 function DoUninstall()
 {
     //launch upgrade when reinstalled module
     \Sprint\Migration\Module::setDbOption('upgrade_version', 'unknown');
     DeleteDirFiles(__DIR__ . "/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
     UnRegisterModule($this->MODULE_ID);
 }
开发者ID:Hawkart,项目名称:megatv,代码行数:7,代码来源:index.php

示例6: DoUninstall

 public function DoUninstall()
 {
     DeleteDirFiles(__DIR__ . '/images', $_SERVER['DOCUMENT_ROOT'] . BX_ROOT . '/images/' . $this->MODULE_ID, true, true);
     DeleteDirFiles(__DIR__ . '/js', $_SERVER['DOCUMENT_ROOT'] . BX_ROOT . '/js/' . $this->MODULE_ID, true, true);
     $this->DoDependences(false);
     UnRegisterModule($this->MODULE_ID);
 }
开发者ID:niksamokhvalov,项目名称:nik.glvrd,代码行数:7,代码来源:index.php

示例7: 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;
	}
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:8,代码来源:index.php

示例8: 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);
 }
开发者ID:ipimax,项目名称:bitrix-modules-colorpicker,代码行数:8,代码来源:index.php

示例9: DoUninstall

 function DoUninstall()
 {
     global $APPLICATION;
     UnRegisterModule('quetzal.markup');
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/quetzal.markup/install/admin/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/quetzal.markup/install/js', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/js');
     $APPLICATION->IncludeAdminFile(GetMessage('QTZ_MARKUP_UNINSTALL_TITLE'), $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/quetzal.markup/install/unstep1.php');
 }
开发者ID:ASDAFF,项目名称:module.markup,代码行数:8,代码来源:index.php

示例10: 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;
 }
开发者ID:Satariall,项目名称:izurit,代码行数:8,代码来源:index.php

示例11: UnInstallFiles

 function UnInstallFiles()
 {
     if ($_ENV["COMPUTERNAME"] != 'BX') {
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/bizprocdesigner/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin");
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/bizprocdesigner/install/tools", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/tools");
         DeleteDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/bizprocdesigner/install/components/bitrix", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/bitrix");
     }
     return true;
 }
开发者ID:Satariall,项目名称:izurit,代码行数:9,代码来源:index.php

示例12: 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);
 }
开发者ID:ASDAFF,项目名称:order_click,代码行数:12,代码来源:index.php

示例13: 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;
 }
开发者ID:ASDAFF,项目名称:bx_moddev,代码行数:9,代码来源:index.php

示例14: DoUninstall

 public function DoUninstall()
 {
     COption::RemoveOption($this->MODULE_ID);
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/ibulkapi/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     DeleteDirFilesEx("/bitrix/js/ibulkapi");
     UnRegisterModule($this->MODULE_ID);
     UnRegisterModuleDependences('ibulkapi', 'ActionsInfo', 'ibulkapi', 'IBulkAPIActionTest', 'GetInfo');
     UnRegisterModuleDependences('ibulkapi', 'TemplatesInfo', 'ibulkapi', 'IBulkAPITemplates', 'GetInfo');
     return true;
 }
开发者ID:ASDAFF,项目名称:bx-ibulkapi,代码行数:10,代码来源:index.php

示例15: UnInstallFiles

 function UnInstallFiles()
 {
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin');
     DeleteDirFilesEx('/bitrix/images/wiki/');
     DeleteDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/themes/.default/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/themes/.default');
     //css
     DeleteDirFilesEx('/bitrix/themes/.default/icons/wiki/');
     //icons
     return true;
 }
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:10,代码来源:index.php


注:本文中的DeleteDirFiles函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。