summaryrefslogtreecommitdiffstats
path: root/src/web/web.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2013-04-29 00:07:16 +0200
committerSebastian Reichel <sre@ring0.de>2013-04-29 00:07:43 +0200
commitf5f02c1615a30d88fbd0d77709ee9c924c048849 (patch)
treef0ceba6f13f6a545b868b5b08830cb4490f96df8 /src/web/web.vala
parent21273de2382f07ca2c799fb800de189608bb5529 (diff)
downloadserial-barcode-scanner-f5f02c1615a30d88fbd0d77709ee9c924c048849.tar.bz2
add template dir to config
Diffstat (limited to 'src/web/web.vala')
-rw-r--r--src/web/web.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/web.vala b/src/web/web.vala
index 3e58fe6..8d39153 100644
--- a/src/web/web.vala
+++ b/src/web/web.vala
@@ -844,7 +844,7 @@ public class WebServer {
void handler_img(Soup.Server server, Soup.Message msg, string path, GLib.HashTable? query, Soup.ClientContext client) {
try {
- var f = File.new_for_path("templates/"+path);
+ var f = File.new_for_path(templatedir+path);
uint8[] data = null;
if(f.query_exists() && f.load_contents(null, out data, null)) {