Guest User

Untitled

a guest
Jun 20th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. attr = lighty.stat(lighty.env['physical.path'])
  2. if (not attr) then
  3. lighty.env['uri.path'] = '/index.php'
  4. lighty.env['physical.rel-path'] = lighty.env['uri.path']
  5. lighty.env['physical.path'] = lighty.env['physical.doc-root'] .. lighty.env['physical.rel-path']
  6. end
Add Comment
Please, Sign In to add comment