Changeset 10348 for trunk/plugins/LocalFilesEditor/show_default.php
- Timestamp:
- 04/13/11 12:36:53 (2 years ago)
- Files:
-
- 1 modified
-
trunk/plugins/LocalFilesEditor/show_default.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/LocalFilesEditor/show_default.php
r10309 r10348 25 25 define('IN_ADMIN', true); 26 26 include_once(PHPWG_ROOT_PATH . 'include/common.inc.php'); 27 include_once(LOCALEDIT_PATH.' functions.inc.php');27 include_once(LOCALEDIT_PATH.'include/functions.inc.php'); 28 28 load_language('plugin.lang', LOCALEDIT_PATH); 29 29 check_status(ACCESS_ADMINISTRATOR); … … 37 37 } 38 38 39 $template->set_filename('show_default', dirname(__FILE__) . '/ show_default.tpl');39 $template->set_filename('show_default', dirname(__FILE__) . '/template/show_default.tpl'); 40 40 41 41 $file = file_get_contents(PHPWG_ROOT_PATH . $path); … … 45 45 'TITLE' => $title, 46 46 'DEFAULT_CONTENT' => $file, 47 'LOCALEDIT_PATH' => LOCALEDIT_PATH,48 'CODEMIRROR_MODE' => 'application/x-httpd-php'49 47 ) 50 48 );
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)