I have a program in Lua. This is the structure of the files:
|Programa
|-Main.lua
|-config.lua
|--------functions
|-functions.lua
Through functions.lua
, I want to give require
to config.lua
. Is there any way?
I've tried:
require "../config"
require "..\config"