Browse Source

Try to fix relative paths.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
648a399a5f
2 changed files with 2 additions and 7 deletions
  1. +1
    -1
      templates/debug.mako
  2. +1
    -6
      templates/support/header.mako

+ 1
- 1
templates/debug.mako View File

@@ -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 View File

@@ -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>


Loading…
Cancel
Save