Prevent direct access from outside WordPress #60
12 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRYPress
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Admin_Notice
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Daemon
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Daemon_Logger
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@ use League\HTMLToMarkdown\HtmlConverter;
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Network_Parser
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Network_Publisher
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Notifier
|
||||
{
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Speech
|
||||
{
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Speech_Media
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Speech_Parser
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*
|
||||
* @package LBRYPress
|
||||
*/
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
|
||||
class LBRY_Post_Handler
|
||||
{
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
<?php
|
||||
defined('ABSPATH') || die(); // Exit if accessed directly
|
||||
?>
|
||||
<div class="error">
|
||||
<p><?php echo LBRY_NAME; ?> error: Your environment doesn't meet all of the system requirements listed below.</p>
|
||||
|
||||
|
|
Loading…
Reference in a new issue