Rev | Line | |
---|
[17225] | 1 | <?php |
---|
[26201] | 2 | defined('PBASE_PATH') or die('Hacking attempt!'); |
---|
[17225] | 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 |
---|
[17314] | 14 | include(PBASE_PATH . 'admin/import.php'); |
---|
[17225] | 15 | |
---|
| 16 | // template |
---|
| 17 | $template->assign(array( |
---|
| 18 | 'PBASE_PATH'=> PBASE_PATH, |
---|
| 19 | 'PBASE_ABS_PATH'=> dirname(__FILE__).'/', |
---|
| 20 | 'PBASE_ADMIN' => PBASE_ADMIN, |
---|
| 21 | )); |
---|
[26201] | 22 | |
---|
[17225] | 23 | $template->assign_var_from_handle('ADMIN_CONTENT', 'pbase2piwigo'); |
---|
Note: See
TracBrowser
for help on using the repository browser.