This commit is contained in:
2026-05-15 20:23:25 +02:00
parent c980004309
commit bc5cae7e82
74 changed files with 563 additions and 130 deletions

View File

@@ -18,6 +18,9 @@ abstract class MainController extends Controller {
*
*/
protected function Run($param = array()) {
if(!is_array($param)) {
$param = array();
}
//$this->SetAjaxRender();
$urlMain = URL_MAIN;
$this->smarty->assign('urlMain', $urlMain);
@@ -34,7 +37,7 @@ abstract class MainController extends Controller {
case 'Strona':
session_start();
if ($param['lang'] == '') {
if (!isset($param['lang']) || $param['lang'] == '') {
$param['lang'] = 'pl';
Router::$curLang = $param['lang'];
}
@@ -527,4 +530,4 @@ abstract class MainController extends Controller {
}
?>
?>