fix: missing properties of default site created by db script
This commit is contained in:
parent
3e50f2a636
commit
707fd6391f
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ Root.prototype.getPermission = function(action) {
|
|||
|
||||
Root.prototype.main_action = function() {
|
||||
if (this.users.size() < 1) {
|
||||
this.update(this); // Be sure all site properties are up-to-date
|
||||
this.title = 'Antville';
|
||||
this.created = this.modified = new Date;
|
||||
this.replyTo = 'root@localhost';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue