source: extensions/pbase2piwigo/admin.php @ 28017

Last change on this file since 28017 was 26201, checked in by mistic100, 11 years ago

update for 2.6

File size: 479 bytes
Line 
1<?php
2defined('PBASE_PATH') or die('Hacking attempt!');
3
4global $template, $page, $conf;
5
6load_language('plugin.lang', PBASE_PATH);
7
8if (!file_exists(PBASE_FS_CACHE))
9{
10  mkdir(PBASE_FS_CACHE, 0755);
11}
12
13// include page
14include(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.