diff --git a/build/ifmlib.php b/build/ifmlib.php index e6ad4d3..7b806ab 100644 --- a/build/ifmlib.php +++ b/build/ifmlib.php @@ -1753,8 +1753,8 @@ function IFM( params ) { } // creates a directory - private function createDir( $w, $dn ) { - if( $this->config['createDir'] != 1 ) { + private function createDir($w, $dn) { + if( $this->config['createdir'] != 1 ) { echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") ); exit( 1 ); } diff --git a/ifm.min.php b/ifm.min.php index c3608b2..6f174de 100644 Binary files a/ifm.min.php and b/ifm.min.php differ diff --git a/ifm.php b/ifm.php index e3c3ffe..fce36e6 100644 --- a/ifm.php +++ b/ifm.php @@ -1753,8 +1753,8 @@ function IFM( params ) { } // creates a directory - private function createDir( $w, $dn ) { - if( $this->config['createDir'] != 1 ) { + private function createDir($w, $dn) { + if( $this->config['createdir'] != 1 ) { echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") ); exit( 1 ); } diff --git a/src/main.php b/src/main.php index 6659f3b..553e522 100644 --- a/src/main.php +++ b/src/main.php @@ -306,8 +306,8 @@ class IFM { } // creates a directory - private function createDir( $w, $dn ) { - if( $this->config['createDir'] != 1 ) { + private function createDir($w, $dn) { + if( $this->config['createdir'] != 1 ) { echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") ); exit( 1 ); }