Skip to content

Commit

Permalink
Merge pull request #72 from chesio/prevent-direct-access
Browse files Browse the repository at this point in the history
Prevent direct access to wp-security-core.php
  • Loading branch information
Arsenal21 authored Jan 6, 2017
2 parents 8e82ef8 + 093d9fa commit 7360681
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion all-in-one-wp-security/wp-security-core.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
<?php

if ( !defined('ABSPATH') ) {
exit; // Exit if accessed directly
}

if (!class_exists('AIO_WP_Security')){

Expand Down

0 comments on commit 7360681

Please sign in to comment.