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