Ignore:
Timestamp:
Mar 11, 2013, 10:35:42 AM (11 years ago)
Author:
nikrou
Message:

Make plugin compatible with piwigo 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pwgCumulus/maintain.inc.php

    r10954 r21469  
    33// | pwgCumulus  - a plugin for Piwigo                                     |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2009-2010 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2009-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
     
    3434
    3535function plugin_uninstall($plugin_id) {
    36   $config_file = $GLOBALS['conf']['local_data_dir'].'/plugins/';
     36  $config_file = PHPWG_ROOT_PATH . $GLOBALS['conf']['data_location'] . 'plugins/';
    3737  $config_file .= basename(dirname(__FILE__)).'.dat';
    3838  if (file_exists($config_file)) {
     
    4040  }
    4141}
    42 ?>
Note: See TracChangeset for help on using the changeset viewer.