Commit 44954e9a authored by vogelor's avatar vogelor
Browse files

fixed a bug with translation in domain-module

parent ae3a8a06
...@@ -48,15 +48,15 @@ $app->auth->check_module_permissions('domain'); ...@@ -48,15 +48,15 @@ $app->auth->check_module_permissions('domain');
$app->uses('tpl,tform,tform_actions'); $app->uses('tpl,tform,tform_actions');
$app->load('tform_actions'); $app->load('tform_actions');
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
include($lng_file);
class page_action extends tform_actions { class page_action extends tform_actions {
function onBeforeDelete() { function onBeforeDelete() {
global $app; $conf; global $app; $conf;
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
include($lng_file);
/* /*
* We can only delete domains if they are NOT in use * We can only delete domains if they are NOT in use
*/ */
......
Supports Markdown
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