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:
@@ -1753,8 +1753,8 @@ function IFM( params ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// creates a directory
|
// creates a directory
|
||||||
private function createDir( $w, $dn ) {
|
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.") );
|
echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
BIN
ifm.min.php
BIN
ifm.min.php
Binary file not shown.
4
ifm.php
4
ifm.php
@@ -1753,8 +1753,8 @@ function IFM( params ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// creates a directory
|
// creates a directory
|
||||||
private function createDir( $w, $dn ) {
|
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.") );
|
echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
@@ -306,8 +306,8 @@ class IFM {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// creates a directory
|
// creates a directory
|
||||||
private function createDir( $w, $dn ) {
|
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.") );
|
echo json_encode( array( "status" => "ERROR", "message" => "No permission to create directories.") );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user