php deny code execution for included files
This commit is contained in:
parent
2cdb68ce7e
commit
56281b0f34
9 changed files with 10 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Ajax
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Config
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
// v3.43 (+ query counter)
|
||||
class DB
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Image
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Lang
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Log
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Post
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* SplClassLoader implementation that implements the technical interoperability
|
||||
* standards for PHP 5.3 namespaces and class names.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
defined('PROJECT_PATH') OR exit('No direct script access allowed');
|
||||
|
||||
class user
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue