Created
April 13, 2011 15:21
-
-
Save haxney/917736 to your computer and use it in GitHub Desktop.
Apply this to system.module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/system/system.module b/modules/system/system.module | |
index 383dc8a..0625e48 100644 | |
--- a/modules/system/system.module | |
+++ b/modules/system/system.module | |
@@ -1850,6 +1850,14 @@ function system_filetransfer_info() { | |
); | |
} | |
+ $backends['file'] = array( | |
+ 'title' => t('Local file'), | |
+ 'class' => 'FileTransferLocal', | |
+ 'file' => 'local.inc', | |
+ 'file path' => 'includes/filetransfer', | |
+ 'weight' => 0, | |
+ ); | |
+ | |
// SSH2 lib connection is only available if the proper PHP extension is | |
// installed. | |
if (function_exists('ssh2_connect')) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To apply: