1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-10 18:14:00 +02:00

fixed bug in createdir function

This commit is contained in:
Marco Dickert
2017-07-13 01:25:28 +02:00
parent 80803494fc
commit dbdfd6115f
4 changed files with 6 additions and 6 deletions

View File

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

Binary file not shown.

View File

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

View File

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