mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-16 07:58:41 +00:00
check writeable
This commit is contained in:
parent
46dc356074
commit
248e336214
|
|
@ -44,7 +44,7 @@ final class Installer extends InstallerAbstract
|
||||||
*/
|
*/
|
||||||
public static function install(ApplicationAbstract $app, ModuleInfo $info, SettingsInterface $cfgHandler) : void
|
public static function install(ApplicationAbstract $app, ModuleInfo $info, SettingsInterface $cfgHandler) : void
|
||||||
{
|
{
|
||||||
if (OperatingSystem::getSystem() === SystemType::LINUX && !\is_writable('/var/www')) {
|
if (OperatingSystem::getSystem() === SystemType::LINUX && !\is_writable(__DIR__ . '/../')) {
|
||||||
$app->logger->error(
|
$app->logger->error(
|
||||||
'Directory /var/www is not writable. Please allow the apache user (www-data) to write to this directory.'
|
'Directory /var/www is not writable. Please allow the apache user (www-data) to write to this directory.'
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user