09-15-2020, 10:10 PM
(09-15-2020, 09:18 PM)Ale2.0 Wrote: Hello
I mean the function to configure with a config.txt
I see that it has no priority anymore but before I try again I would have liked to know if somebody tried to fix it.
I also know that it does not make sense according to the log but it happened multiple times.
But regarding your information I will wait for 7.00 as I would have to configure everything again anyway.
Thank you and have a nice evening.
The function in question is in the php module /var/www/inc/workerlib.php.
Beginning somewhere around line 2678 (I'm looking at 7.0.0 beta code so the starting line number may not be the same in 6.5.2)
Code:
// Auto-configure settings at worker startup
function autoConfig($cfgfile) {
autoCfgLog('autocfg: Auto-configure initiated');
//$contents = file_get_contents($cfgfile);
$contents = str_replace("\r\n", "\n", file_get_contents($cfgfile));
$autocfg = array();
$line = strtok($contents, "\n");
The only recent fix to this function that I'm aware of didn't occur until very recently. Quoting from relnotes.txt for the upcoming 7.0.0 release:
Quote:- FIX: Manual entry of SSID not accepting embedded space
Regards,
Kent