Changeset 26199 for extensions/instagram2piwigo/admin/config.php
- Timestamp:
- Dec 26, 2013, 12:48:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/instagram2piwigo/admin/config.php
r24817 r26199 1 1 <?php 2 if (!defined('INSTAG_PATH'))die('Hacking attempt!');2 defined('INSTAG_PATH') or die('Hacking attempt!'); 3 3 4 4 if (isset($_POST['save_config'])) … … 8 8 'secret_key' => trim($_POST['secret_key']), 9 9 ); 10 10 11 unset($_SESSION['phpinstagram_auth_token']); 11 12 conf_update_param('Instagram2Piwigo', serialize($conf['Instagram2Piwigo'])); … … 21 22 22 23 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.