Browse Source

Removed protect header

Borislav Kosun 8 years ago
parent
commit
6519fed0df

+ 1 - 1
application/bootstrap.php

@@ -1,4 +1,4 @@
-<?php defined('SYSPATH') or die('No direct script access.');
+<?php
 
 // -- Environment setup --------------------------------------------------------
 

+ 1 - 1
application/classes/Controller/Welcome.php

@@ -1,4 +1,4 @@
-<?php defined('SYSPATH') or die('No direct script access.');
+<?php
 
 class Controller_Welcome extends Controller {
 

+ 1 - 1
modules/auth/classes/Auth.php

@@ -1,3 +1,3 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
+<?php
 
 abstract class Auth extends Kohana_Auth { }

+ 1 - 1
modules/auth/classes/Auth/File.php

@@ -1,3 +1,3 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
+<?php
 
 class Auth_File extends Kohana_Auth_File { }

+ 1 - 1
modules/auth/classes/Kohana/Auth.php

@@ -1,4 +1,4 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
+<?php
 /**
  * User authorization library. Handles user login and logout, as well as secure
  * password hashing.

+ 1 - 1
modules/auth/classes/Kohana/Auth/File.php

@@ -1,4 +1,4 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
+<?php
 /**
  * File Auth driver.
  * [!!] this Auth driver does not support roles nor autologin.

+ 1 - 1
modules/auth/config/auth.php

@@ -1,4 +1,4 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
+<?php
 
 return array(
 

+ 1 - 1
modules/auth/config/userguide.php

@@ -1,4 +1,4 @@
-<?php defined('SYSPATH') OR die('No direct script access.');
+<?php
 
 return array(
 	// Leave this alone

+ 1 - 1
modules/cache/classes/Cache.php

@@ -1,3 +1,3 @@
-<?php defined('SYSPATH') or die('No direct script access.');
+<?php
 
 abstract class Cache extends Kohana_Cache {}

+ 1 - 1
modules/cache/classes/Cache/Apc.php

@@ -1,3 +1,3 @@
-<?php defined('SYSPATH') or die('No direct script access.');
+<?php
 
 class Cache_Apc extends Kohana_Cache_Apc {}

Some files were not shown because too many files changed in this diff