Ignore:
Timestamp:
May 22, 2011, 1:21:25 PM (13 years ago)
Author:
nikrou
Message:

Make plugin compatible with piwigo 2.2
Add pl_PL, thanks to Ortolan
Add ar_AR, thanks to bakir

File:
1 edited

Legend:

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

    r6850 r10988  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
     
    3636  $config_file = $GLOBALS['conf']['local_data_dir'].'/plugins/';
    3737  $config_file .= basename(dirname(__FILE__)).'.dat';
    38   unlink($config_file);
     38  if (file_exists($config_file)) {
     39    unlink($config_file);
     40  }
    3941}
    4042?>
Note: See TracChangeset for help on using the changeset viewer.