Ignore:
Timestamp:
Sep 15, 2014 9:44:27 PM (10 years ago)
Author:
anonymous
Message:

Beginning the process of adapting codebase to foundation styles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/logs.php

    r479 r497  
    2525 */
    2626
    27 // require_once dirname(__FILE__) . '/_config.inc.php';
     27// Redefine include_path including the codebase/services but allow local templates override global ones.
     28ini_set('include_path', join(PATH_SEPARATOR, array(
     29    get_include_path(),
     30    dirname(__FILE__) . '/templates'
     31)));
    2832
    2933$app->sslOn();
     
    6771
    6872// Titles and navigation header.
    69 $nav->add(sprintf(_("Viewing log: <em>%s</em>"), $tmp_prefs->get('log_file')), '/admin/logs.php');
     73$nav->add(sprintf(_("Viewing <em>%s</em>"), $tmp_prefs->get('log_file')), '/admin/logs.php');
    7074
    7175/********************************************************************
     
    148152    printLog($tmp_prefs->get('log_file'));
    149153} else {
    150     include 'codebase/services/templates/' . $main_template;
     154    include $main_template;
    151155}
    152156include 'footer.ihtml';
Note: See TracChangeset for help on using the changeset viewer.