1
0
mirror of https://github.com/newnius/YAO-Dockerfiles.git synced 2025-06-06 07:51:54 +00:00

update yao-portal

This commit is contained in:
Newnius 2019-12-04 19:21:06 +08:00
parent 362b1cc49c
commit f330b9de88

View File

@ -1,5 +1,9 @@
#!/bin/bash
if [[ ! -f /var/www/html/config.inc.php ]]; then
cp /var/www/html/config-sample.inc.php /var/www/html/config.inc.php
fi
if [[ -d /config/ ]]; then
if [[ ! -f /config/config.inc.php ]]; then
cp /var/www/html/config.inc.php /config/config.inc.php