mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
signup language issues
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* e107 website system
|
* e107 website system
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2011 e107 Inc (e107.org)
|
* Copyright (C) 2008-2012 e107 Inc (e107.org)
|
||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
|
e107::coreLan('signup');
|
||||||
|
|
||||||
class signup_shortcodes extends e_shortcode
|
class signup_shortcodes extends e_shortcode
|
||||||
{
|
{
|
||||||
|
@@ -23,11 +23,12 @@ $qs = explode(".", e_QUERY);
|
|||||||
|
|
||||||
if($qs[0] != 'activate')
|
if($qs[0] != 'activate')
|
||||||
{ // multi-language fix.
|
{ // multi-language fix.
|
||||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
e107::coreLan('signup');
|
||||||
|
//include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||||
// include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_usersettings.php"); Shouldn't need this now
|
// include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_usersettings.php"); Shouldn't need this now
|
||||||
}
|
}
|
||||||
|
|
||||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_user.php'); // Generic user-related language defines
|
e107::coreLan('user'); // Generic user-related language defines
|
||||||
|
|
||||||
define('SIGNUP_DEBUG', FALSE);
|
define('SIGNUP_DEBUG', FALSE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user