ModuleConstants::getFullPath('storage'), 'permission' => 0777], ['full' => ModuleConstants::getFullPath('storage', 'app'), 'permission' => 0777], ['full' => ModuleConstants::getFullPath('storage', 'crons'), 'permission' => 0777], ['full' => ModuleConstants::getFullPath('storage', 'logs'), 'permission' => 0777] ); } $pathValidator = new PathValidator(); if (!$pathValidator->validatePath(ModuleConstants::getFullPath('storage', 'logs'), true, true, true)) { ServiceLocator::call('errorManager')->addError( 'Bootstrap', PHP_EOL . ServiceLocator::call('lang')->absoluteT('permissionsStorage'), ['path' => ModuleConstants::getFullPath('storage')] ); }