Ignore:
Timestamp:
Dec 26, 2013, 12:48:21 PM (10 years ago)
Author:
mistic100
Message:

update for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/instagram2piwigo/admin/config.php

    r24817 r26199  
    11<?php
    2 if (!defined('INSTAG_PATH')) die('Hacking attempt!');
     2defined('INSTAG_PATH') or die('Hacking attempt!');
    33
    44if (isset($_POST['save_config']))
     
    88    'secret_key' => trim($_POST['secret_key']),
    99    );
     10
    1011  unset($_SESSION['phpinstagram_auth_token']);
    1112  conf_update_param('Instagram2Piwigo', serialize($conf['Instagram2Piwigo']));
     
    2122
    2223
    23 $template->set_filename('Instagram2Piwigo', dirname(__FILE__) . '/template/config.tpl');
    24 
    25 ?>
     24$template->set_filename('Instagram2Piwigo', realpath(INSTAG_PATH . 'admin/template/config.tpl'));
Note: See TracChangeset for help on using the changeset viewer.