2012-11-13, 21:55
I'm wondering if anybody has a better idea on how to get a list of files for a web interface?
I wanted to find all the language files in my addons dir. I don't want to have to hard code it basically so atm I do a Files.GetDirectory on "special://home/addons/webinterface.awxi/lang".
I'm relying on the dir being "webinterface.awxi", which it should be but I thought someone might have a cleaner solution.
I wanted to find all the language files in my addons dir. I don't want to have to hard code it basically so atm I do a Files.GetDirectory on "special://home/addons/webinterface.awxi/lang".
I'm relying on the dir being "webinterface.awxi", which it should be but I thought someone might have a cleaner solution.