mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 15:44:07 +01:00
Don't check config directory permissions on windows environment (ugly)
fixes #16
This commit is contained in:
@@ -224,7 +224,7 @@ class SP_Init {
|
||||
//$configPerms = substr(sprintf('%o', fileperms(self::$SERVERROOT.'/config')), -4);
|
||||
$configPerms = decoct(fileperms(self::$SERVERROOT.'/config') & 0777);
|
||||
|
||||
if ( $configPerms != "750" ){
|
||||
if ( ! SP_Util::runningOnWindows() && $configPerms != "750" ){
|
||||
self::initError(_('Los permisos del directorio "/config" son incorrectos'),$configPerms);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user