Ignore:
Timestamp:
Jan 6, 2014, 4:41:55 PM (10 years ago)
Author:
mistic100
Message:

Update for Piwigo 2.6
TODO: button on Admin Tools bar

File:
1 edited

Legend:

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

    r19056 r26470  
    11<?php
    2 if (!defined('GVIDEO_PATH')) die('Hacking attempt!');
     2defined('GVIDEO_PATH') or die('Hacking attempt!');
    33
    44if (isset($_POST['save_config']))
     
    2828 
    2929  conf_update_param('gvideo', serialize($conf['gvideo']));
    30   array_push($page['infos'], l10n('Information data registered in database'));
     30  $page['infos'][] = l10n('Information data registered in database');
    3131}
    3232
     
    3939
    4040
    41 $template->set_filename('gvideo_content', dirname(__FILE__) . '/template/config.tpl');
    42 
    43 ?>
     41$template->set_filename('gvideo_content', realpath(GVIDEO_PATH . 'admin/template/config.tpl'));
Note: See TracChangeset for help on using the changeset viewer.