https://www.icyphoenix.com/viewtopic.php?f=17&t=9340&p=59880#p59880
-----------------------------------
mort
Tue 11 Nov, 2014 10:52

Re: How To Call Files From The Default Folder?
-----------------------------------
Yeah! Well my senility is taking over and I assumed that MG would have made it more complicated than it needs to be.... :twisted: 

So! without being code "specific" something like this should suffice?

[code linenumbers=false]$dir = 'templates/';
$something = 'default';
if(exist($dir/$something)) {$template = '$something && $template';}
if(!exists($dir/$something)){echo 'Youv\'e deleted the Default theme STUPID';} [/code]

 :mricy:  :mrgreen:  :mrblue:  :mrorange:  :mrviolet:  :mryellow:


