Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextcloud: CLI-Workaround #1

Open
killerbees19 opened this issue Mar 30, 2024 · 0 comments
Open

Nextcloud: CLI-Workaround #1

killerbees19 opened this issue Mar 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@killerbees19
Copy link
Member

killerbees19 commented Mar 30, 2024

<?php

$configDir = __DIR__ . '/..';

$configFiles = [$configDir . '/config.php'];

$extraConfigFiles = glob($configDir . '/*.config.php');
natsort($extraConfigFiles);

$configFiles = array_merge($configFiles, $extraConfigFiles);

foreach ($configFiles as $configFile) {
    require_once $configFile;
}
NEXTCLOUD_CONFIG_DIR=/httpdocs/cloud.hostingXXXXXX.aXXXX.netcup.net/config/updater /usr/local/php82/bin/php /httpdocs/cloud.hostingXXXXXX.aXXXX.netcup.net/updater/updater.phar --no-interaction
@killerbees19 killerbees19 added the enhancement New feature or request label Mar 30, 2024
@killerbees19 killerbees19 self-assigned this Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant