mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
- include language file
- pass passwordstrength parameter to view
This commit is contained in:
parent
0c5941c4e4
commit
5640c2956b
|
@ -22,6 +22,8 @@ include("../inc/inc.Settings.php");
|
|||
include("../inc/inc.Language.php");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
|
||||
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||
|
||||
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0)
|
||||
$referui = $_REQUEST["referuri"];
|
||||
else
|
||||
|
@ -35,7 +37,7 @@ if (isset($_REQUEST["hash"]) && strlen($_REQUEST["hash"])>0) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referui'=>$referui, 'hash'=>$hash));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referui'=>$referui, 'hash'=>$hash, 'passwordstrength'=>$settings->_passwordStrength));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
|
|
|
@ -22,6 +22,8 @@ include("../inc/inc.Settings.php");
|
|||
include("../inc/inc.Language.php");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
|
||||
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||
|
||||
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
||||
$referrer = $_REQUEST["referuri"];
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user