Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
Conflicts: install_minimal/include/airtime-install.php
This commit is contained in:
commit
3b539b7c04
6 changed files with 89 additions and 16 deletions
|
@ -224,7 +224,7 @@ class AirtimeInstall
|
|||
return true;
|
||||
}
|
||||
|
||||
$command = "su postgres -c \"createdb $database --encoding UTF8 --owner $username\"";
|
||||
$command = "sudo -i -u postgres psql postgres -c \"CREATE DATABASE ".$database." WITH ENCODING 'UTF8' TEMPLATE template0 OWNER ".$username."\"";
|
||||
|
||||
@exec($command, $output, $results);
|
||||
if ($results == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue