Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -75,6 +75,12 @@ class _FileSystem extends \IPS\Data\Store
|
||||
public function __construct( $configuration )
|
||||
{
|
||||
$this->_path = rtrim( str_replace( '{root}', \IPS\ROOT_PATH, $configuration['path'] ), '/' );
|
||||
|
||||
/* Fallback for an invalid path */
|
||||
if( !$this->_path )
|
||||
{
|
||||
$this->_path = \IPS\ROOT_PATH . '/datastore';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user