mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-16 21:13:59 +02:00
fixed bug in createdir function
This commit is contained in:
@@ -1751,7 +1751,7 @@ function IFM( params ) {
|
||||
|
||||
// creates a directory
|
||||
private function createDir($w, $dn) {
|
||||
if( $this->config['createDir'] != 1 ) {
|
||||
if( $this->config['createdir'] != 1 ) {
|
||||
echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") );
|
||||
exit( 1 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user