Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit page - Template selection - Filter functions.php out
#1
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
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#2
great change here. I've just added to the SVN. http://code.google.com/p/get-simple-cms/...tail?r=188
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
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.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply




Users browsing this thread: 1 Guest(s)