Parcourir la source

add template in config.php

Émile Morel il y a 10 ans
Parent
commit
2e83b6e1cf
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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