|
@ -42,7 +42,7 @@ def getSiteInfo(self, site): |
|
|
def updateSiteInfo(self, site, stype='', cache='', webroot='', |
|
|
def updateSiteInfo(self, site, stype='', cache='', webroot='', |
|
|
enabled=True, ssl=False, fs='', db='', db_name=None, |
|
|
enabled=True, ssl=False, fs='', db='', db_name=None, |
|
|
db_user=None, db_password=None, db_host=None, hhvm=None, |
|
|
db_user=None, db_password=None, db_host=None, hhvm=None, |
|
|
pagespeed=None,php_version=''): |
|
|
pagespeed=None,php_version='5.5'): |
|
|
"""updates site record in database""" |
|
|
"""updates site record in database""" |
|
|
try: |
|
|
try: |
|
|
q = SiteDB.query.filter(SiteDB.sitename == site).first() |
|
|
q = SiteDB.query.filter(SiteDB.sitename == site).first() |
|
|