diff --git a/main/install/db_main.sql b/main/install/db_main.sql index 4b67bd8c9b..c348651406 100755 --- a/main/install/db_main.sql +++ b/main/install/db_main.sql @@ -770,6 +770,7 @@ VALUES ('sso_authentication_auth_uri',NULL,'textfield','Security','/?q=user','SSOServerAuthURITitle','SSOServerAuthURIComment',NULL,NULL,1), ('sso_authentication_unauth_uri',NULL,'textfield','Security','/?q=logout','SSOServerUnAuthURITitle','SSOServerUnAuthURIComment',NULL,NULL,1), ('sso_authentication_protocol',NULL,'radio','Security','http://','SSOServerProtocolTitle','SSOServerProtocolComment',NULL,NULL,1), +('enabled_wiris',NULL,'radio','Editor','false','EnabledWirisTitle','EnabledWirisComment',NULL,NULL, 0), ('chamilo_database_version', NULL, 'textfield', NULL, '1.8.8.12885', 'DokeosDatabaseVersion', '', NULL, NULL, 0); @@ -992,7 +993,9 @@ VALUES ('sso_authentication', 'true', 'Yes'), ('sso_authentication', 'false', 'No'), ('sso_authentication_protocol', 'http://', 'http://'), -('sso_authentication_protocol', 'https://', 'https://'); +('sso_authentication_protocol', 'https://', 'https://'), +('enabled_wiris','true','Yes'), +('enabled_wiris','false','No'); UNLOCK TABLES; diff --git a/main/install/migrate-db-1.8.7-1.8.8-pre.sql b/main/install/migrate-db-1.8.7-1.8.8-pre.sql index ea1cfe4328..b031c27185 100755 --- a/main/install/migrate-db-1.8.7-1.8.8-pre.sql +++ b/main/install/migrate-db-1.8.7-1.8.8-pre.sql @@ -50,6 +50,11 @@ INSERT INTO settings_options (variable, value, display_text) VALUES ('sso_authen INSERT INTO settings_options (variable, value, display_text) VALUES ('sso_authentication', 'false', 'No'); INSERT INTO settings_options (variable, value, display_text) VALUES ('sso_authentication_protocol', 'http://', 'http://'); INSERT INTO settings_options (variable, value, display_text) VALUES ('sso_authentication_protocol', 'https://', 'https://'); + +INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable) VALUES ('enabled_wiris',NULL,'radio','Editor','false','EnabledWirisTitle','EnabledWirisComment',NULL,NULL, 0); +INSERT INTO settings_options (variable, value, display_text) VALUES ('enabled_wiris', 'true', 'Yes'); +INSERT INTO settings_options (variable, value, display_text) VALUES ('enabled_wiris', 'false', 'No'); + -- xxSTATSxx ALTER TABLE track_e_exercices ADD COLUMN orig_lp_item_view_id INT NOT NULL DEFAULT 0; -- xxUSERxx