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/lock.php

    r468 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)));
     32
    2833require_once 'codebase/lib/Lock.inc.php';
     34require_once 'codebase/lib/HTML.inc.php';
    2935
    3036$app->sslOn();
     
    6672// Templates.
    6773include 'header.ihtml';
    68 $lock->printErrorHTML();
     74// $lock->printErrorHTML();
     75include 'lock.ihtml';
    6976include 'footer.ihtml';
    7077
Note: See TracChangeset for help on using the changeset viewer.