source: extensions/SmartAlbums/admin/config.inc.php @ 11438

Last change on this file since 11438 was 11438, checked in by mistic100, 13 years ago

missing global $conf; into plugin_activate function

File size: 466 bytes
RevLine 
[11392]1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4// Enregistrement de la configuration
5if (isset($_POST['submit']))
6{
[11438]7  $conf['SmartAlbums']['update_on_upload'] = isset($_POST['update_on_upload']);
8 
[11392]9  conf_update_param('SmartAlbums', serialize($conf['SmartAlbums']));
[11438]10  array_push($page['infos'], l10n('Information data registered in database'));
[11392]11}
12
13$template->assign(array(
[11438]14  'update_on_upload' => $conf['SmartAlbums']['update_on_upload'],
[11392]15));
16
17?>
Note: See TracBrowser for help on using the repository browser.