1.0.0 Alpha Release #59

Merged
netkas merged 213 commits from v1.0.0_alpha into master 2023-01-29 23:27:58 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 233d5ce6d2 - Show all commits

View file

@ -959,8 +959,8 @@
try
{
if($filesystem->exists(PathFinder::getDataPath() . DIRECTORY_SEPARATOR . 'data'))
$filesystem->chmod(PathFinder::getDataPath() . DIRECTORY_SEPARATOR . 'data', 0777, 0000, true);
if($filesystem->exists(PathFinder::getDataPath(Scopes::System)))
$filesystem->chmod(PathFinder::getDataPath(Scopes::System), 0777, 0000, true);
}
catch(Exception $e)
{
@ -969,8 +969,8 @@
try
{
if($filesystem->exists(PathFinder::getCachePath()))
$filesystem->chmod(PathFinder::getCachePath(), 0777, 0000, true);
if($filesystem->exists(PathFinder::getCachePath(Scopes::System)))
$filesystem->chmod(PathFinder::getCachePath(Scopes::System), 0777, 0000, true);
}
catch(Exception $e)
{

View file

@ -218,7 +218,7 @@
if(!Validate::packageName($package))
throw new InvalidPackageNameException($package);
return self::getDataPath() . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . $package;
return self::getDataPath(Scopes::System) . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . $package;
}
/**