[eluser]Genuine Scope[/eluser]
mimes.php
Code:
'php' => 'application/x-httpd-php',
'php' => 'text/html',
'php4' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
'php' => 'text/php',
'php' => 'text/x-php',
'php' => 'application/php',
'php' => 'application/x-php',
'html' => 'text/html',
'htm' => 'text/html',
'htm' => 'text/html',
'shtml' => 'text/html',
in the controller allowed types were added as follows
Code:
$config['allowed_types'] = 'PHP|php|php4|php3|html|HTML|htm|HTM';
but cannot upload .php and .htm files