@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,14 +1,12 @@ discard block |
||
| 1 | 1 | <?php defined('BASEPATH') OR exit('No direct script access allowed'); |
| 2 | 2 | |
| 3 | 3 | class Migration_Setup_Sessions extends CI_Migration { |
| 4 | - public function __construct() |
|
| 5 | - { |
|
| 4 | + public function __construct() { |
|
| 6 | 5 | parent::__construct(); |
| 7 | 6 | $this->load->dbforge(); |
| 8 | 7 | } |
| 9 | 8 | |
| 10 | - public function up() |
|
| 11 | - { |
|
| 9 | + public function up() { |
|
| 12 | 10 | // Table structure for table 'ci_sessions' |
| 13 | 11 | $this->dbforge->add_field(array( |
| 14 | 12 | 'id' => array( |
@@ -39,8 +37,7 @@ discard block |
||
| 39 | 37 | $this->dbforge->create_table('ci_sessions'); |
| 40 | 38 | } |
| 41 | 39 | |
| 42 | - public function down() |
|
| 43 | - { |
|
| 40 | + public function down() { |
|
| 44 | 41 | $this->dbforge->drop_table('ci_sessions', TRUE); |
| 45 | 42 | } |
| 46 | 43 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php defined('BASEPATH') OR exit('No direct script access allowed'); |
|
| 1 | +<?php defined('BASEPATH') or exit('No direct script access allowed'); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * Rate Limiter Configuration |