mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
cfgfiles (which includes savefiles, datafiles) get sanizized on read, filemod::readfile, xml module, sql handled old ascii speech packets handled
15 lines
433 B
Text
15 lines
433 B
Text
use cfgfile;
|
|
function get(cfg)
|
|
print(cfg);
|
|
foreach key in GetConfigStringKeys(cfg)
|
|
var e:= FindConfigElem(cfg,key);
|
|
print(key);
|
|
foreach entry in ListConfigElemProps(e)
|
|
print(entry+" "+GetConfigString(e,entry)+" "+GetConfigString(e, entry).find("ü"));
|
|
endforeach
|
|
endforeach
|
|
endfunction
|
|
|
|
get(ReadConfigFile(":cfgtests:cfg"));
|
|
get(ReadConfigFile(":cfgtests:cfgbom"));
|
|
get(ReadConfigFile(":cfgtests:cfgiso"));
|