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:
@@ -1754,7 +1754,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 );
|
||||
}
|
||||
|
BIN
ifm.min.php
BIN
ifm.min.php
Binary file not shown.
2
ifm.php
2
ifm.php
@@ -1754,7 +1754,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 );
|
||||
}
|
||||
|
@@ -307,7 +307,7 @@ class IFM {
|
||||
|
||||
// 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