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


Messages In This Thread
Edit page - Template selection - Filter functions.php out - by dominionit - 2010-09-12, 06:05:41



Users browsing this thread: 1 Guest(s)