• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/virtual_io_filesystem.php
  • Класс: CBXVirtualDirectoryFileSystem
  • Вызов: CBXVirtualDirectoryFileSystem::Create
public function Create()
{
	if (!file_exists($this->GetPathWithNameEncoded()))
		return mkdir($this->GetPathWithNameEncoded(), BX_DIR_PERMISSIONS, true);
	else
		return is_dir($this->GetPathWithNameEncoded());
}