GetSimple Support Forum
Edit page - Template selection - Filter functions.php out - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Edit page - Template selection - Filter functions.php out (/showthread.php?tid=969)



Edit page - Template selection - Filter functions.php out - dominionit - 2010-09-12

Good day
-----------

Version : 2.01 (last stable downloaded from website)
Reason for change : Not allow people to select functions.php as a template

Hope you dont mind I changed the
admin/edit.php

file on line 82

from
Code:
$templates[] = $file;

to be

Code:
if ($file != 'functions.php') {
          $templates[] = $file;
        }


Hope it helps or can help someone.

Thanks

Dominion IT
www.dominion-it.co.za


Edit page - Template selection - Filter functions.php out - ccagle8 - 2010-09-21

great change here. I've just added to the SVN. http://code.google.com/p/get-simple-cms/source/detail?r=188


Edit page - Template selection - Filter functions.php out - dominionit - 2010-09-25

ccagle8 Wrote:great change here. I've just added to the SVN. http://code.google.com/p/get-simple-cms/source/detail?r=188

Glad it could help .

have a good day.