GetSimple Support Forum

Full Version: Edit page - Template selection - Filter functions.php out
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
great change here. I've just added to the SVN. http://code.google.com/p/get-simple-cms/...tail?r=188
ccagle8 Wrote:great change here. I've just added to the SVN. http://code.google.com/p/get-simple-cms/...tail?r=188

Glad it could help .

have a good day.