Skip to content

Commit

Permalink
style(system): remove direct access checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinsh committed Dec 23, 2018
1 parent 9846cde commit a366fda
Show file tree
Hide file tree
Showing 263 changed files with 0 additions and 499 deletions.
2 changes: 0 additions & 2 deletions system/classes/Arr.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Arr extends Kohana_Arr
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Config extends Kohana_Config
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Config/File.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Config_File extends Kohana_Config_File
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Config/Group.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Config_Group extends Kohana_Config_Group
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Controller.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

abstract class Controller extends Kohana_Controller
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Controller/Template.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

abstract class Controller_Template extends Kohana_Controller_Template
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Cookie.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Cookie extends Kohana_Cookie
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Date.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Date extends Kohana_Date
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Debug.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Debug extends Kohana_Debug
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Encrypt.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

abstract class Encrypt extends Kohana_Encrypt
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Feed.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Feed extends Kohana_Feed
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/File.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class File extends Kohana_File
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Form.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Form extends Kohana_Form
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/Fragment.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class Fragment extends Kohana_Fragment
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTML.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTML extends Kohana_HTML
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

abstract class HTTP extends Kohana_HTTP
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception extends Kohana_HTTP_Exception
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/300.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_300 extends Kohana_HTTP_Exception_300
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/301.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_301 extends Kohana_HTTP_Exception_301
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/302.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_302 extends Kohana_HTTP_Exception_302
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/303.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_303 extends Kohana_HTTP_Exception_303
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/304.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_304 extends Kohana_HTTP_Exception_304
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/305.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_305 extends Kohana_HTTP_Exception_305
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/307.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_307 extends Kohana_HTTP_Exception_307
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/400.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_400 extends Kohana_HTTP_Exception_400
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/401.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_401 extends Kohana_HTTP_Exception_401
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/402.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_402 extends Kohana_HTTP_Exception_402
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/403.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_403 extends Kohana_HTTP_Exception_403
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/404.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_404 extends Kohana_HTTP_Exception_404
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/405.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_405 extends Kohana_HTTP_Exception_405
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/406.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_406 extends Kohana_HTTP_Exception_406
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/407.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_407 extends Kohana_HTTP_Exception_407
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/408.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_408 extends Kohana_HTTP_Exception_408
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/409.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_409 extends Kohana_HTTP_Exception_409
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/410.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_410 extends Kohana_HTTP_Exception_410
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/411.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_411 extends Kohana_HTTP_Exception_411
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/412.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_412 extends Kohana_HTTP_Exception_412
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/413.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_413 extends Kohana_HTTP_Exception_413
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/414.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_414 extends Kohana_HTTP_Exception_414
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/415.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_415 extends Kohana_HTTP_Exception_415
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/416.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_416 extends Kohana_HTTP_Exception_416
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/417.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_417 extends Kohana_HTTP_Exception_417
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/500.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_500 extends Kohana_HTTP_Exception_500
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/501.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_501 extends Kohana_HTTP_Exception_501
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/502.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_502 extends Kohana_HTTP_Exception_502
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/503.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_503 extends Kohana_HTTP_Exception_503
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/504.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_504 extends Kohana_HTTP_Exception_504
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/505.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

class HTTP_Exception_505 extends Kohana_HTTP_Exception_505
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/Expected.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

abstract class HTTP_Exception_Expected extends Kohana_HTTP_Exception_Expected
{

Expand Down
2 changes: 0 additions & 2 deletions system/classes/HTTP/Exception/Redirect.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

defined('SYSPATH') OR die('No direct script access.');

abstract class HTTP_Exception_Redirect extends Kohana_HTTP_Exception_Redirect
{

Expand Down
Loading

0 comments on commit a366fda

Please sign in to comment.