|
|
@ -1116,6 +1116,11 @@ class EEStackController(CementBaseController): |
|
|
|
shutil.move('/tmp/phpmyadmin-STABLE/', |
|
|
|
'{0}22222/htdocs/db/pma/' |
|
|
|
.format(EEVariables.ee_webroot)) |
|
|
|
shutil.move('{0}22222/htdocs/db/pma/config.sample.inc.php'.format(EEVariables.ee_webroot),'{0}22222/htdocs/db/pma/config.inc.php'.format(EEVariables.ee_webroot)) |
|
|
|
blowfish_key = ''.join([random.choice |
|
|
|
(string.ascii_letters + string.digits) |
|
|
|
for n in range(10)]) |
|
|
|
EEFileUtils.searchreplace(self,'{0}22222/htdocs/db/pma/config.inc.php'.format(EEVariables.ee_webroot),"$cfg[\'blowfish_secret\'] = \'\';","$cfg[\'blowfish_secret\'] = \'{0}\';".format(blowfish_key)) |
|
|
|
Log.debug(self, 'Setting Privileges of webroot permission to ' |
|
|
|
'{0}22222/htdocs/db/pma file ' |
|
|
|
.format(EEVariables.ee_webroot)) |
|
|
|