Commit 4370fd72 authored by Fabien Morin's avatar Fabien Morin

add a user_pref and correct another


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23961 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c91b928
...@@ -165,8 +165,9 @@ user_pref("security.warn_viewing_mixed.show_once", false); ...@@ -165,8 +165,9 @@ user_pref("security.warn_viewing_mixed.show_once", false);
user_pref("signon.rememberSignons", false); user_pref("signon.rememberSignons", false);
// this is required to upload files // this is required to upload files
user_pref("capability.principal.codebase.p1.granted", "UniversalFileRead");
user_pref("signed.applets.codebase_principal_support", true); user_pref("signed.applets.codebase_principal_support", true);
user_pref("capability.principal.codebase.p1.id", %s); user_pref("capability.principal.codebase.p1.id", "http://%s");
user_pref("capability.principal.codebase.p1.subjectName", "");""" % \ user_pref("capability.principal.codebase.p1.subjectName", "");""" % \
'%s:%s' % (host, port) '%s:%s' % (host, port)
pref_file = open(os.path.join(profile_dir, 'prefs.js'), 'w') pref_file = open(os.path.join(profile_dir, 'prefs.js'), 'w')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment