server/plugins-available/apache2_plugin.inc.php | ●●●●● patch | view | raw | blame | history |
server/plugins-available/apache2_plugin.inc.php
@@ -269,6 +269,11 @@ exec('mv '.$data["old"]["document_root"].' '.$new_dir); $app->log("Moving site to new document root: ".'mv '.$data["old"]["document_root"].' '.$new_dir,LOGLEVEL_DEBUG); $command = 'usermod'; $command .= ' --home '.escapeshellcmd($data["new"]["document_root"]); $command .= ' '.escapeshellcmd($data["new"]["system_user"]); exec($command); } //print_r($data);