mcramer
2012-10-09 a84ff46ff8c731a321ae87bea0e05d3fef3aceae
interface/web/admin/language_import.php
@@ -35,6 +35,7 @@
//* This is only allowed for administrators
if(!$app->auth->is_admin()) die('only allowed for administrators.');
if($conf['demo_mode'] == true) $app->error('This function is disabled in demo mode.');
$app->uses('tpl');
@@ -83,7 +84,7 @@
                  $langfile_path = trim(ISPC_WEB_PATH.'/'.$module_name.'/lib/lang/'.$file_name);
               }
            } else {
               $buffer .= $line;
               $buffer .= trim($line)."\n";
            }
         }
      }