6 lines
135 B
Bash
6 lines
135 B
Bash
#!/bin/bash
|
|
|
|
[ -f "/var/www/html/config/config.php" ] || exit 0
|
|
|
|
cd /var/www/html
|
|
sudo -u www-data php occ maintenance:update:htaccess
|