Ignore:
Timestamp:
May 27, 2011, 11:02:05 PM (13 years ago)
Author:
nikrou
Message:

Fix incompatibility with piwigo 2.2
Change jquery plugin from fcbkcomplete to tokeninput

File:
1 edited

Legend:

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

    r6895 r11081  
    33// | User Tags  - 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.