Re: Euphoria MVC updates

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...
    sequence local_file = canonical_path( "." & path_info ) 
 
    if search:begins( current_dir(), local_file ) then 
 
        return send_file( local_path ) 
 
    end if 

local_path is not defined. I thought it could be local_file instead but that's wrong:

2020/11/26 11:41:13  INFO static@mysql_users.ex:22 path_info = "\"/static/css/w3.css\"" 
2020/11/26 11:41:13  INFO static@mysql_users.ex:31 local_file = "\"C:\\\\Users\\\\duro\\\\Documents\\\\mysql_users\\\\examples\\\\static\\\\css\\\\w3.css\"" 
2020/11/26 11:41:13  INFO client_handler@server.e:140 "127.0.0.1" "GET" "/static/css/w3.css" "404 Not Found" 
Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu