Skip to content

Commit bf383ca

Browse files
committed
Deploy new version
1 parent 991e10f commit bf383ca

36 files changed

+345
-359
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Change Log được viết theo biểu mẫu tại đây: https://keepachangelog.com/en/1.0.0/
44

5+
## [1.1.5] - 2024/08/04
6+
7+
### What's Changed
8+
9+
- [x] Update docker-compose.yml
10+
511
## [1.1.4] - 2024/04/05
612

713
### What's Changed

Dockerfile

Lines changed: 0 additions & 115 deletions
This file was deleted.

app/config/autoload.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34

45
/*

app/config/config.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34

45
/*
@@ -384,7 +385,9 @@
384385
|
385386
*/
386387
$config['sess_driver'] = 'files';
387-
$config['sess_cookie_name'] = sha1('Session_Cookie_Name_HungNG_CodeIgniter_v3_skeleton_tVdOt99RreiaULriXOnxflwCzehBxQNc');
388+
$config['sess_cookie_name'] = sha1(
389+
'Session_Cookie_Name_HungNG_CodeIgniter_v3_skeleton_tVdOt99RreiaULriXOnxflwCzehBxQNc'
390+
);
388391
$config['sess_expiration'] = 7200;
389392
if (ENVIRONMENT === 'development') {
390393
$config['sess_save_path'] = __DIR__ . '/../../storage/ci_sessions/';
@@ -459,8 +462,12 @@
459462
| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks
460463
*/
461464
$config['csrf_protection'] = false;
462-
$config['csrf_token_name'] = sha1(ENVIRONMENT . 'CodeIgniter_v3_skeleton_i0ewkTGviUJ53ZU4vcXn31zamsJOtXns_csrf_test_name');
463-
$config['csrf_cookie_name'] = sha1(ENVIRONMENT . 'CodeIgniter_v3_skeleton_i0ewkTGviUJ53ZU4vcXn31zamsJOtXns_csrf_cookie_name');
465+
$config['csrf_token_name'] = sha1(
466+
ENVIRONMENT . 'CodeIgniter_v3_skeleton_i0ewkTGviUJ53ZU4vcXn31zamsJOtXns_csrf_test_name'
467+
);
468+
$config['csrf_cookie_name'] = sha1(
469+
ENVIRONMENT . 'CodeIgniter_v3_skeleton_i0ewkTGviUJ53ZU4vcXn31zamsJOtXns_csrf_cookie_name'
470+
);
464471
$config['csrf_expire'] = 7200;
465472
$config['csrf_regenerate'] = true;
466473
$config['csrf_exclude_uris'] = array();

app/config/constants.php

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34

45
/*
@@ -41,8 +42,14 @@
4142
*/
4243
defined('FOPEN_READ') or define('FOPEN_READ', 'rb');
4344
defined('FOPEN_READ_WRITE') or define('FOPEN_READ_WRITE', 'r+b');
44-
defined('FOPEN_WRITE_CREATE_DESTRUCTIVE') or define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
45-
defined('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE') or define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
45+
defined('FOPEN_WRITE_CREATE_DESTRUCTIVE') or define(
46+
'FOPEN_WRITE_CREATE_DESTRUCTIVE',
47+
'wb'
48+
); // truncates existing file data, use with care
49+
defined('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE') or define(
50+
'FOPEN_READ_WRITE_CREATE_DESTRUCTIVE',
51+
'w+b'
52+
); // truncates existing file data, use with care
4653
defined('FOPEN_WRITE_CREATE') or define('FOPEN_WRITE_CREATE', 'ab');
4754
defined('FOPEN_READ_WRITE_CREATE') or define('FOPEN_READ_WRITE_CREATE', 'a+b');
4855
defined('FOPEN_WRITE_CREATE_STRICT') or define('FOPEN_WRITE_CREATE_STRICT', 'xb');
@@ -89,8 +96,8 @@
8996
defined('MY_TELEGRAM_ID') or define('MY_TELEGRAM_ID', '1234');
9097
defined('TELEGRAM_JARVIS_BOT') or define('TELEGRAM_JARVIS_BOT', [
9198
'telegram_messages' => [
92-
'bot_name' => 'xxx',
93-
'bot_api_key' => 'xxx',
99+
'bot_name' => 'xxx',
100+
'bot_api_key' => 'xxx',
94101
'default_chat_id' => MY_TELEGRAM_ID
95102
]
96103
]);

app/config/database.php

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34

45
/*
@@ -74,24 +75,24 @@
7475
$query_builder = true;
7576

7677
$db['default'] = [
77-
'dsn' => 'mysql:host=mariadb;port=3306;dbname=codeigniter_v3',
78-
'hostname' => 'mariadb',
79-
'port' => 3306,
80-
'username' => 'root',
81-
'password' => 'hungna',
82-
'database' => 'codeigniter_v3',
83-
'dbprefix' => '',
84-
'dbdriver' => 'pdo',
85-
'pconnect' => false,
86-
'db_debug' => (ENVIRONMENT !== 'production'),
87-
'cache_on' => false,
88-
'cachedir' => '',
89-
'char_set' => 'utf8',
90-
'dbcollat' => 'utf8_general_ci',
91-
'swap_pre' => '',
92-
'encrypt' => false,
93-
'compress' => false,
94-
'stricton' => false,
95-
'failover' => [],
78+
'dsn' => 'mysql:host=mariadb;port=3306;dbname=codeigniter_v3',
79+
'hostname' => 'mariadb',
80+
'port' => 3306,
81+
'username' => 'root',
82+
'password' => 'hungna',
83+
'database' => 'codeigniter_v3',
84+
'dbprefix' => '',
85+
'dbdriver' => 'pdo',
86+
'pconnect' => false,
87+
'db_debug' => (ENVIRONMENT !== 'production'),
88+
'cache_on' => false,
89+
'cachedir' => '',
90+
'char_set' => 'utf8',
91+
'dbcollat' => 'utf8_general_ci',
92+
'swap_pre' => '',
93+
'encrypt' => false,
94+
'compress' => false,
95+
'stricton' => false,
96+
'failover' => [],
9697
'save_queries' => false
9798
];

app/config/extend/admin_config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34
/**
45
* Created by PhpStorm.

app/config/extend/config_hashids.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34
/**
45
* Project my-api-services

app/config/extend/config_site.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34
/**
45
* Created by PhpStorm.

app/config/extend/config_template.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
defined('BASEPATH') or exit('No direct script access allowed');
34
/**
45
* Project script-manage-server

0 commit comments

Comments
 (0)