[eluser]codex[/eluser]
[quote author="Seppo" date="1207721126"]That works fine here (when temp is inside de CI folder, at the same level as the main index.php) running windows too.
Sorry I can't help[/quote]
No probs, I appreciate the help :-)
Weird, this doesn't work:
Code:
$config['upload_path'] = './temp/';
$config['allowed_types'] = 'jpg|jpeg|png';
$config['max_size'] = 2000000;
$config['overwrite'] = TRUE;
$config['remove_spaces'] = TRUE;
$this->load->library('upload', $config);
while this does:
Code:
$config['upload_path'] = './temp/';
$config['allowed_types'] = 'jpg|jpeg|png';
$config['max_size'] = 2000000;
$config['overwrite'] = TRUE;
$config['remove_spaces'] = TRUE;
$this->load->library('upload', $config);
$this->upload->initialize($config);
It seems as if the config array isn't being set. Weird, but at least it works (kinda). Does someone have an idea as to why this happens?