| | |
| | | x.load(L"cache\\config.xml"); |
| | | if (x.xml() == L"") |
| | | { |
| | | //alert(L"<config><home "+att+L"=L"+value+L"/></config>"); |
| | | //alert(L"<config><home "+att+L"="+value+L"/></config>"); |
| | | x.loadXML(L"<config><home " + att + L"='" + value + L"'/></config>"); |
| | | } |
| | | else |
| | |
| | | int Initial() |
| | | { |
| | | SetUserID(); |
| | | xstring userno = xaserver::GetUserNo(); |
| | | if (userno == L"admin") |
| | | { |
| | | xnode anode = GetAgentNode(L"dev"); |
| | | int LayerFlow_WE_ = 0x00000002; |
| | | int LayerFlow_Control_ = 0x00000010; |
| | | anode.SetLayerFlow(LayerFlow_WE_ | LayerFlow_Control_); |
| | | } |
| | | m_Assignment = L""; |
| | | |
| | | return 1; |
| | | } |
| | | int onload() |