mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-17 12:28:41 +00:00
Count fix for file
This commit is contained in:
parent
f84fd11c86
commit
cd4f9c3027
|
|
@ -13,7 +13,7 @@
|
|||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
namespace phpOMS\System;
|
||||
namespace phpOMS\System\File;
|
||||
|
||||
/**
|
||||
* Filesystem class.
|
||||
|
|
@ -33,7 +33,8 @@ class File extends FileAbstract
|
|||
public function __construct(string $path)
|
||||
{
|
||||
parent::__constrct($path);
|
||||
|
||||
$this->count = 1;
|
||||
|
||||
if(file_exists($this->path)) {
|
||||
$this->index();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user