Ignore:
Timestamp:
Nov 2, 2013, 10:33:02 AM (7 years ago)
Author:
obi
Message:

fix lcdsamsung / lcdpearl check all paths on start.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/lcdsamsung/lcdsamsung.c

    r24694 r24709  
    889889        pluginaktiv = 1;
    890890        firststart = 1;
    891        
    892         tmpstr = createpluginpath("/lcdsamsung/skin2.xml", 0);
    893                
     891
     892        tmpstr = ostrcat("/var/usr/local/share/titan/plugins/lcdsamsung/skin2.xml", NULL, 0, 0);
     893        if(!file_exist(tmpstr))
     894        {
     895                free(tmpstr); tmpstr = NULL;
     896                tmpstr = ostrcat("/var/swap/usr/local/share/titan/plugins/lcdsamsung/skin2.xml", NULL, 0, 0);
     897        }
     898        if(!file_exist(tmpstr))
     899        {
     900                free(tmpstr); tmpstr = NULL;
     901                tmpstr = ostrcat("/mnt/swapextensions/usr/local/share/titan/plugins/lcdsamsung/skin2.xml", NULL, 0, 0);
     902        }
    894903        if(!file_exist(tmpstr))
    895904        {
Note: See TracChangeset for help on using the changeset viewer.