MPL theme fallback
This commit is contained in:
parent
0ff545900f
commit
e740571ada
|
@ -2319,6 +2319,10 @@ Begin
|
|||
If Pos('.', FN) = 0 Then FN := FN + mplExtExecute;
|
||||
|
||||
If Pos(PathChar, FN) = 0 Then
|
||||
If FileExist(Session.Theme.ScriptPath + FN) Then
|
||||
FN := Session.Theme.ScriptPath + FN
|
||||
Else
|
||||
If Session.Theme.Flags and thmFallBack <> 0 Then
|
||||
FN := Config.ScriptPath + FN;
|
||||
|
||||
MPEName := FN;
|
||||
|
|
Loading…
Reference in New Issue