mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-11 18:43:58 +02:00
fixed wrong reference to forbiddenChars
This commit is contained in:
@@ -2897,7 +2897,7 @@ function IFM( params ) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// custom limitations
|
// custom limitations
|
||||||
foreach( $this->config->forbiddenChars as $char )
|
foreach( $this->config['forbiddenChars'] as $char )
|
||||||
if( strpos( $f, $char ) !== false )
|
if( strpos( $f, $char ) !== false )
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
2
ifm.php
2
ifm.php
@@ -2897,7 +2897,7 @@ function IFM( params ) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// custom limitations
|
// custom limitations
|
||||||
foreach( $this->config->forbiddenChars as $char )
|
foreach( $this->config['forbiddenChars'] as $char )
|
||||||
if( strpos( $f, $char ) !== false )
|
if( strpos( $f, $char ) !== false )
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
@@ -980,7 +980,7 @@ f00bar;
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// custom limitations
|
// custom limitations
|
||||||
foreach( $this->config->forbiddenChars as $char )
|
foreach( $this->config['forbiddenChars'] as $char )
|
||||||
if( strpos( $f, $char ) !== false )
|
if( strpos( $f, $char ) !== false )
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user