- Timestamp:
- Jun 30, 2025, 11:22:35 AM (41 hours ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r951 r973 149 149 if (isset($this->Config['Web']['RootFolder'])) 150 150 $this->RootURLFolder = $this->Config['Web']['RootFolder']; 151 $this->FormManager->Root = $this->RootURLFolder;151 $this->FormManager->RootURL = $this->RootURLFolder; 152 152 153 153 $this->RegisterPageBar('Top'); -
trunk/Application/Version.php
r970 r973 1 1 <?php 2 2 3 $Revision = 97 0; // Subversion revision3 $Revision = 973; // Subversion revision 4 4 $DatabaseRevision = 970; // SQL structure revision 5 $ReleaseTime = strtotime('202 4-07-17');5 $ReleaseTime = strtotime('2025-06-30'); -
trunk/Modules/Customer/Customer.php
r970 r973 85 85 'InternetSpeedMin' => array('Type' => 'Integer', 'Caption' => 'Min. rychlost internetu', 'Default' => '0', 'Suffix' => 'bit/s'), 86 86 'InternetSpeedMax' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost internetu', 'Default' => '0', 'Suffix' => 'bit/s'), 87 'InternetSpeedBonus' => array('Type' => 'Integer', 'Caption' => 'Bonusová rychlost internetu', ' Default' => '0', 'Suffix' => 'bit/s'),87 'InternetSpeedBonus' => array('Type' => 'Integer', 'Caption' => 'Bonusová rychlost internetu', 'Null' => true, 'Suffix' => 'bit/s'), 88 88 'UploadAsymmetry' => array('Type' => 'Integer', 'Caption' => 'Asymetrie odesílání', 'Default' => '1'), 89 89 'Memory' => array('Type' => 'Integer', 'Caption' => 'Paměť', 'Default' => '0', 'Suffix' => 'GB'), -
trunk/Modules/NetworkConfigRouterOS/Generators/DHCP.php
r936 r973 1 1 <?php 2 3 2 4 3 class ConfigRouterOSDHCP extends NetworkConfigItem … … 36 35 } 37 36 } 38 -
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallFilter.php
r929 r973 7 7 $Path = array('ip', 'firewall', 'filter'); 8 8 9 $Routerboard = new Routerboard($this->System Config['MainRouter']['HostName']);10 $Routerboard->UserName = $this->System Config['MainRouter']['UserName'];11 $Routerboard->Timeout = $this->System Config['MainRouter']['ConnectTimeout'];9 $Routerboard = new Routerboard($this->System->Config['MainRouter']['HostName']); 10 $Routerboard->UserName = $this->System->Config['MainRouter']['UserName']; 11 $Routerboard->Timeout = $this->System->Config['MainRouter']['ConnectTimeout']; 12 12 $Routerboard->Debug = true; 13 13 14 $InetInterface = $this->System Config['MainRouter']['InetInterface'];15 $LocalInterface = $this->System Config['MainRouter']['LocalInterface'];14 $InetInterface = $this->System->Config['MainRouter']['InetInterface']; 15 $LocalInterface = $this->System->Config['MainRouter']['LocalInterface']; 16 16 17 17 $Items = array(); 18 19 18 20 19 // Total inet traffic measuring … … 38 37 $Items[] = array('chain' => 'forward', 'out-interface' => $InetInterface, 'protocol' => 'tcp', 'dst-port' => 25, 'dst-address' => '82.119.226.113', 'action' => 'accept', 'comment' => 'smtp.svarko.cz'); 39 38 $Items[] = array('chain' => 'forward', 'out-interface' => $InetInterface, 'protocol' => 'tcp', 'dst-port' => 25, 'action' => 'drop', 'comment' => 'drop-rest-smtp'); 40 41 39 42 40 // Insert blocked addresses -
trunk/Modules/NetworkConfigRouterOS/Generators/Signal.php
r929 r973 39 39 $Read = $Routerboard->Read(false); 40 40 $Array = $Routerboard->ParseResponse($Read); 41 if (array_key_exists('!trap', $Array)) 42 { 43 return array(); 44 } 41 45 $NetworkMac = new NetworkMac($this->System); 42 46 foreach ($Array as $Properties) … … 79 83 $Queries[] = 'INSERT INTO `NetworkSignal` (`MAC`, `Value`, `Remote`, `RateRx`, `RateTx`, `Time`, `Interface`, `Device`) VALUES '. 80 84 '('.$MacRef.', '.$Strength.', '.$RemoteSignal.', '.$RateRx.', '.$RateTx.', "'. 81 TimeToMysqlDateTime($this->Time).'", '.$Interface.', '.$Device['Id'].')'; 85 TimeToMysqlDateTime($this->Time).'", '.$Interface.', '.$Device['Id'].')'; 82 86 } 83 87 return $Queries; … … 98 102 { 99 103 return array(); 100 } 104 } 101 105 $NetworkMac = new NetworkMac($this->System); 102 106 foreach ($Array as $Properties)
Note:
See TracChangeset
for help on using the changeset viewer.