source: extensions/Google2Piwigo/admin.php @ 20367

Last change on this file since 20367 was 17475, checked in by mistic100, 12 years ago

new extension: Google2Piwigo

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