source: extensions/Google2Piwigo/admin.php @ 27153

Last change on this file since 27153 was 26198, checked in by mistic100, 10 years ago

update for Piwigo 2.6

File size: 518 bytes
Line 
1<?php
2defined('PICASA_WA_PATH') or 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
23$template->assign_var_from_handle('ADMIN_CONTENT', 'picasa_web_albums');
Note: See TracBrowser for help on using the repository browser.