From b93464db656fe017fe434b0fc917921ded88a12c Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 31 Oct 2006 00:36:32 +0000 Subject: --- user_guide/libraries/file_uploading.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'user_guide/libraries/file_uploading.html') diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index 6a2317da1..1fa93bf17 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -171,7 +171,7 @@ class Upload extends Controller { $config['max_width'] = '1024'; $config['max_height'] = '768'; - $this->upload->initialize($config); + $this->load->library('upload', $config); if ( ! $this->upload->do_upload()) { @@ -230,6 +230,9 @@ $config['max_size'] = '100';
$config['max_width'] = '1024';
$config['max_height'] = '768';

+$this->load->library('ftp', $config);

+ +// Alternately you can set preferences by calling the initialize function. Useful if you auto-load the class:
$this->upload->initialize($config);

The above preferences should be fairly self-explanatory. Below is a table describing all available preferences.

-- cgit v1.2.3-24-g4f1b