1
0
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:
Marco Dickert
2017-07-13 01:25:28 +02:00
parent 773c03aaaf
commit 4785d7cad5
3 changed files with 3 additions and 3 deletions

View File

@@ -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 );
}