Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/storage/content/17/208717/svenskarollspel.nu/:/storage/configuration/wrappers/17/208717/svenskarollspel.nu/:/tmp/) in /storage/content/17/208717/svenskarollspel.nu/public_html/wikia/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 261 Warning: proc_open(/dev/null): failed to open stream: Operation not permitted in /storage/content/17/208717/svenskarollspel.nu/public_html/wikia/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php on line 261 Modul:No globals - Svenska rollspel
Senast redigerad den 31 augusti 2015, kl 13.45

Modul:No globals

Dokumentationen för denna modul kan skapas på Modul:No globals/dok

Skriptfel: Luafel: Kan inte skapa processen: proc_open(/dev/null): failed to open stream: Operation not permitted

local mt = getmetatable(_G) or {}
function mt.__index (t, k)
	if k ~= 'arg' then
		error('Tried to read nil global ' .. tostring(k), 2)
	end
	return nil
end
function mt.__newindex(t, k, v)
	if k ~= 'arg' then
		error('Tried to write global ' .. tostring(k), 2)
	end
	rawset(t, k, v)
end
setmetatable(_G, mt)