Ignore:
Timestamp:
May 21, 2011, 3:19:26 PM (13 years ago)
Author:
nikrou
Message:

Update to make plugin compatible with piwigo 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/akBookStyle/trunk/maintain.inc.php

    r6852 r10975  
    33// | akBookStyle  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2009-2010 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2009-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// | Copyright(C) 2009      vdigital                                       |
    77// +-----------------------------------------------------------------------+
     
    3737  $config_file = $GLOBALS['conf']['local_data_dir'].'/plugins/';
    3838  $config_file .= basename(dirname(__FILE__)).'.dat';
    39   unlink($config_file);
     39  if (file_exists($config_file)) {
     40    unlink($config_file);
     41  }
    4042}
    4143?>
Note: See TracChangeset for help on using the changeset viewer.