Commit a6695514 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Renamed site_data to static.

parent 2c7fad56
......@@ -8,9 +8,9 @@ Go Url Shortener
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="http://fonts.googleapis.com/css?family=Carrois+Gothic" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/site_data/style.css" />
<link rel="icon" type="image/jpg" href="/site_data/favicon.ico" />
<script type="text/javascript" src="/site_data/go.js"></script>
<link rel="stylesheet" href="/static/style.css" />
<link rel="icon" type="image/jpg" href="/static/favicon.ico" />
<script type="text/javascript" src="/static/go.js"></script>
</head>
<body>
......
......@@ -11,7 +11,7 @@ def application(environ, start_response):
top = library.get_top( user_logged_in )
bottom = library.get_bottom( user_logged_in )
f = open(goconfig.doc_root + "/site_data/about.part", "r")
f = open(goconfig.doc_root + "/static/about.part", "r")
about = f.read()
f.close()
......
......@@ -344,7 +344,7 @@ def ldap_authenticate( usr, psw ):
def get_top( logged_in=False ):
f = open(goconfig.doc_root + "/site_data/top.part", "r")
f = open(goconfig.doc_root + "/static/top.part", "r")
top = f.read()
f.close()
......@@ -364,7 +364,7 @@ def get_top( logged_in=False ):
def get_bottom( logged_in=False ):
f = open(goconfig.doc_root + "/site_data/bottom.part", "r")
f = open(goconfig.doc_root + "/static/bottom.part", "r")
bottom = f.read()
f.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment