diff --git a/e107_core/shortcodes/single/sitedisclaimer.sc b/e107_core/shortcodes/single/sitedisclaimer.sc deleted file mode 100644 index 4afca8a86..000000000 --- a/e107_core/shortcodes/single/sitedisclaimer.sc +++ /dev/null @@ -1,4 +0,0 @@ -//toHtml(SITEDISCLAIMER,TRUE,"constants defs"); diff --git a/e107_plugins/siteinfo/e_shortcode.php b/e107_plugins/siteinfo/e_shortcode.php index f1d4d96ae..38d3a5651 100644 --- a/e107_plugins/siteinfo/e_shortcode.php +++ b/e107_plugins/siteinfo/e_shortcode.php @@ -17,7 +17,11 @@ class siteinfo_shortcodes // must match the folder name of the plugin. function sc_sitedisclaimer() { - return e107::getParser()->toHtml(SITEDISCLAIMER, true, 'constants defs'); + $default = "Proudly powered by e107 which is released under the terms of the GNU GPL License."; + + $text = deftrue('SITEDISCLAIMER',$default); + + return e107::getParser()->toHtml($text, true, 'constants defs'); } function sc_sitename($parm) diff --git a/install.php b/install.php index 237cee78b..1d94f59ee 100644 --- a/install.php +++ b/install.php @@ -1320,7 +1320,7 @@ class e_install $this->previous_steps['prefs']['siteurl'] = e_HTTP; $this->previous_steps['prefs']['sitetag'] = LAN_PREF_2; - $this->previous_steps['prefs']['sitedisclaimer'] = LAN_PREF_3; + $this->previous_steps['prefs']['sitedisclaimer'] = ''; $this->previous_steps['prefs']['replyto_name'] = $this->previous_steps['admin']['display']; $this->previous_steps['prefs']['replyto_email'] = $this->previous_steps['admin']['email'];