Piotr Labudda 6 лет назад
Родитель
Сommit
646d5c71d6
1 измененных файлов с 16 добавлено и 0 удалено
  1. 16 0
      SE/se-lib/Route/UrlAction/PanelKlientaBiallNet.php

+ 16 - 0
SE/se-lib/Route/UrlAction/PanelKlientaBiallNet.php

@@ -0,0 +1,16 @@
+<?php
+
+Lib::loadClass('RouteBase');
+Lib::loadClass('Response');
+
+class Route_UrlAction_PanelKlientaBiallNet extends RouteBase {
+
+	static $PANEL_URL = "https://biuro.biall-net.pl/dev-pl/se-projects/panel_biall_net/SE/index.php?_route=UrlAction_ChangeUser&id_admin={id}";
+
+	function defaultAction() {
+		$id = V::get('id', '', $_GET);
+		if (!$id) throw new Exception("Missing id");
+		Response::sendRedirect( str_replace('{id}', $id, self::$PANEL_URL) );
+	}
+
+}