Ignore:
Timestamp:
04/13/11 12:38:45 (9 years ago)
Author:
patdenice
Message:

merge r10348 from trunk to branch 2.2
Clean code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/plugins/LocalFilesEditor/show_default.php

    r10311 r10349  
    2525define('IN_ADMIN', true); 
    2626include_once(PHPWG_ROOT_PATH . 'include/common.inc.php'); 
    27 include_once(LOCALEDIT_PATH.'functions.inc.php'); 
     27include_once(LOCALEDIT_PATH.'include/functions.inc.php'); 
    2828load_language('plugin.lang', LOCALEDIT_PATH); 
    2929check_status(ACCESS_ADMINISTRATOR); 
     
    3737  } 
    3838     
    39   $template->set_filename('show_default', dirname(__FILE__) . '/show_default.tpl'); 
     39  $template->set_filename('show_default', dirname(__FILE__) . '/template/show_default.tpl'); 
    4040   
    4141  $file = file_get_contents(PHPWG_ROOT_PATH . $path); 
     
    4545    'TITLE' => $title, 
    4646    'DEFAULT_CONTENT' => $file, 
    47     'LOCALEDIT_PATH' => LOCALEDIT_PATH, 
    48     'CODEMIRROR_MODE' => 'application/x-httpd-php' 
    4947    ) 
    5048  ); 
Note: See TracChangeset for help on using the changeset viewer.