require parent dir - sandboxing...
Posted: Mon Apr 09, 2012 7:51 pm
Hello,
i want this dir structur:
* code
** main.lua
* content
** maps
*** map1.lua
and it seems i cant require "../content/maps/map1"
any way around, i really dont want to put all content into code dir.
thanks!
i want this dir structur:
* code
** main.lua
* content
** maps
*** map1.lua
and it seems i cant require "../content/maps/map1"
any way around, i really dont want to put all content into code dir.
thanks!