Ver código fonte

Try to fix relative paths.

pull/24/head
Ben Kurtovic 10 anos atrás
pai
commit
648a399a5f
2 arquivos alterados com 2 adições e 7 exclusões
  1. +1
    -1
      templates/debug.mako
  2. +1
    -6
      templates/support/header.mako

+ 1
- 1
templates/debug.mako Ver arquivo

@@ -1,4 +1,4 @@
<%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Debug'"/>
<%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Debug - Earwig\'s Copyvio Detector'"/>
<ul>
% for key, value in environ.items():
% if key not in ["wsgi.input", "wsgi.errors", "PATH"]:


+ 1
- 6
templates/support/header.mako Ver arquivo

@@ -1,11 +1,6 @@
<%page args="environ, cookies, title"/>\
<%namespace module="copyvios.background" import="set_background"/>\
<%!
from os import path
%>\
<%
root = path.dirname(environ["SCRIPT_NAME"])
%>\
<% root = environ["SCRIPT_NAME"] %>\
<!DOCTYPE html>
<html lang="en">
<head>


Carregando…
Cancelar
Salvar