vogelor
2010-05-02 44954e9a5c0bdcbe80b4f01b3242a4246c890128
fixed a bug with translation in domain-module
1 files modified
8 ■■■■ changed files
interface/web/domain/domain_del.php 8 ●●●● patch | view | raw | blame | history
interface/web/domain/domain_del.php
@@ -48,15 +48,15 @@
$app->uses('tpl,tform,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 {
    function onBeforeDelete() {
        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
         */