Browse Source

add template in config.php

Émile Morel 10 years ago
parent
commit
2e83b6e1cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sources/config.php

+ 2 - 2
sources/config.php

@@ -4,9 +4,9 @@
 function configure() {
     option('env', ENV_PRODUCTION);
     option('debug', false);
-    option('base_uri', '/torclient/');
+    option('base_uri', '<TPL:NGINX_LOCATION>/');
     layout("layout.html.php");
-    define('PUBLIC_DIR', '/torclient/public');
+    define('PUBLIC_DIR', '<TPL:NGINX_LOCATION>/public');
 }
 
 // Not found page