Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- attr = lighty.stat(lighty.env['physical.path'])
- if (not attr) then
- lighty.env['uri.path'] = '/index.php'
- lighty.env['physical.rel-path'] = lighty.env['uri.path']
- lighty.env['physical.path'] = lighty.env['physical.doc-root'] .. lighty.env['physical.rel-path']
- end
Add Comment
Please, Sign In to add comment