Say Smarty to only use one compile directory. Makes setup somewhat easier.

remotes/origin/stable
Jakob Sack 14 years ago
parent 9aad8b3a86
commit 015ab0eb64
  1. 0
      admin/templates/_c/.gitkeep
  2. 0
      files/templates/_c/.gitkeep
  3. 2
      lib/template.php
  4. 0
      log/templates/_c/.gitkeep
  5. 0
      settings/templates/_c/.gitkeep

@ -70,7 +70,7 @@ class OC_TEMPLATE{
$smarty->left_delimiter = "[%";
$smarty->right_delimiter = "%]";
$smarty->template_dir = $template_dir;
$smarty->compile_dir = "$template_dir/_c";
$smarty->compile_dir = "$SERVERROOT/templates/_c";
$smarty->registerPlugin( "function", "linkto", "oc_template_helper_link_to");
$smarty->registerPlugin( "function", "imagepath", "oc_template_helper_image_path");

Loading…
Cancel
Save