Changeset 15351


Ignore:
Timestamp:
05/27/12 16:21:21 (7 years ago)
Author:
grum
Message:

feature:2634 - Compatibility with Piwigo 2.4
Improve ui css insertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/classes/GPCCore.class.inc.php

    r15340 r15351  
    539539    global $template; 
    540540 
    541     if(!array_key_exists($file, self::$headerItems['css'])) 
     541    if(!array_key_exists($file, self::$headerItems['css']) and file_exists($file)) 
    542542    { 
    543543      self::$headerItems['css'][$id]=$file; 
     
    549549    global $template; 
    550550 
    551     if(!array_key_exists($file, self::$headerItems['js'])) 
     551    if(!array_key_exists($file, self::$headerItems['js']) and file_exists($file)) 
    552552    { 
    553553      self::$headerItems['js'][$id]=$file; 
Note: See TracChangeset for help on using the changeset viewer.