Skip to content

Commit

Permalink
reflect POST in BP template configs re-set situations
Browse files Browse the repository at this point in the history
  • Loading branch information
ophian committed Jan 23, 2013
1 parent 16cf06e commit 985d8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/bulletproof/config.inc.php
Expand Up @@ -26,7 +26,7 @@ function serendipity_plugin_api_event_hook($event, &$bag, &$eventData, $addData
}


if ($serendipity['GET']['adminModule'] == 'templates') {
if ($serendipity['GET']['adminModule'] == 'templates' || $serendipity['POST']['adminModule'] == 'templates') {
$css_files = glob(dirname(__FILE__) . '/*_style.css');
foreach($css_files AS $css_file) {
$css_file = str_replace('_style.css', '', basename($css_file));
Expand Down

6 comments on commit 985d8d2

@garvinhicking
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Also for 2.0?

@ophian
Copy link
Member Author

@ophian ophian commented on 985d8d2 Jan 23, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ophian
Copy link
Member Author

@ophian ophian commented on 985d8d2 Jan 23, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garvinhicking

could you please have a deeper look into that specific thread, as there are still some questions pending... (some posts up)
like what to do with older BP installations and the template change things,

@garvinhicking
Copy link
Member

@garvinhicking garvinhicking commented on 985d8d2 Jan 23, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donchambers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What forum thread - if any - discusses this issue?

@ophian
Copy link
Member Author

@ophian ophian commented on 985d8d2 Jan 23, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donchambers

the latest in the german section "You don't have permission to access /index.php on this server" which actually has two issues - the one with the missing POST, as fixed here, and some spookey server permission issues... fiddled to mod_security

Please sign in to comment.