Line | |
---|
1 | <?php |
---|
2 | defined('PBASE_PATH') or die('Hacking attempt!'); |
---|
3 | |
---|
4 | global $template, $page, $conf; |
---|
5 | |
---|
6 | load_language('plugin.lang', PBASE_PATH); |
---|
7 | |
---|
8 | if (!file_exists(PBASE_FS_CACHE)) |
---|
9 | { |
---|
10 | mkdir(PBASE_FS_CACHE, 0755); |
---|
11 | } |
---|
12 | |
---|
13 | // include page |
---|
14 | include(PBASE_PATH . 'admin/import.php'); |
---|
15 | |
---|
16 | // template |
---|
17 | $template->assign(array( |
---|
18 | 'PBASE_PATH'=> PBASE_PATH, |
---|
19 | 'PBASE_ABS_PATH'=> dirname(__FILE__).'/', |
---|
20 | 'PBASE_ADMIN' => PBASE_ADMIN, |
---|
21 | )); |
---|
22 | |
---|
23 | $template->assign_var_from_handle('ADMIN_CONTENT', 'pbase2piwigo'); |
---|
Note: See
TracBrowser
for help on using the repository browser.