Skip to content

Commit 223154c

Browse files
committed
Fix config file path in phpBB configuration check
1 parent 47c047d commit 223154c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ install_phpbb() {
8080
# Configure phpBB if not already configured
8181
configure_phpbb() {
8282
# Check if config.php exists and is not empty
83-
if [ ! -f "${PHPBB_ROOT:-/opt/phpbb}/phpbb/config/config.php" ] || [ ! -s "${PHPBB_ROOT:-/opt/phpbb}/phpbb/config/config.php" ]; then
83+
if [ ! -f "${PHPBB_ROOT:-/opt/phpbb}/phpbb/config.php" ] || [ ! -s "${PHPBB_ROOT:-/opt/phpbb}/phpbb/config.php" ]; then
8484
log "Configuration file not found or is empty, running YML-based installer..."
8585
if ! /opt/.docker/install-from-yml.sh; then
8686
log "ERROR: Failed to configure phpBB. Exiting container."

0 commit comments

Comments
 (0)