source: extensions/pbase2piwigo/admin.php @ 17591

Last change on this file since 17591 was 17314, checked in by mistic100, 12 years ago
  • many small improvements
  • protect "generic" functions
  • complete localization
File size: 547 bytes
Line 
1<?php
2if (!defined('PBASE_PATH')) die('Hacking attempt!');
3
4global $template, $page, $conf;
5
6// $conf['pbase2piwigo'] = unserialize($conf['pbase2piwigo']);
7load_language('plugin.lang', PBASE_PATH);
8
9if (!file_exists(PBASE_FS_CACHE))
10{
11  mkdir(PBASE_FS_CACHE, 0755);
12}
13
14// include page
15include(PBASE_PATH . 'admin/import.php');
16
17// template
18$template->assign(array(
19  'PBASE_PATH'=> PBASE_PATH,
20  'PBASE_ABS_PATH'=> dirname(__FILE__).'/',
21  'PBASE_ADMIN' => PBASE_ADMIN,
22  ));
23$template->assign_var_from_handle('ADMIN_CONTENT', 'pbase2piwigo');
24
25?>
Note: See TracBrowser for help on using the repository browser.