Skip to content

Commit

Permalink
Remove sample & add helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
hungnguyenhp committed Mar 11, 2022
1 parent ac95ed3 commit 5a9537a
Show file tree
Hide file tree
Showing 21 changed files with 13 additions and 129 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class Credentials_model extends HungNG_Custom_Based_model

## Hướng dẫn tích hợp mô hình HMVC vào dự án

1. Create folder: `modules` trong thư mục `application`. Tham khảo cấu trúc thư mục `modules` tại `sample/modules/` trong thư viện này
1. Create folder: `modules` trong thư mục `application`. Tham khảo cấu trúc thư mục `modules-samples` tại https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/modules-sample

```shell
.
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"autoload": {
"classmap": [
"hungng/"
],
"files": [
"helpers/helpers.php"
]
}
}
9 changes: 9 additions & 0 deletions helpers/helpers.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
/**
* Project codeigniter-framework
* Created by PhpStorm
* User: 713uk13m <[email protected]>
* Copyright: 713uk13m <[email protected]>
* Date: 11/03/2022
* Time: 10:05
*/
6 changes: 0 additions & 6 deletions sample/.htaccess

This file was deleted.

1 change: 0 additions & 1 deletion sample/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions sample/index.html

This file was deleted.

6 changes: 0 additions & 6 deletions sample/modules/.htaccess

This file was deleted.

1 change: 0 additions & 1 deletion sample/modules/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/index.html

This file was deleted.

6 changes: 0 additions & 6 deletions sample/modules/startup/config/.htaccess

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/startup/config/index.html

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/startup/config/routes.php

This file was deleted.

6 changes: 0 additions & 6 deletions sample/modules/startup/controllers/.htaccess

This file was deleted.

1 change: 0 additions & 1 deletion sample/modules/startup/controllers/Startup.php

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/startup/controllers/index.html

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/startup/index.html

This file was deleted.

6 changes: 0 additions & 6 deletions sample/modules/startup/models/.htaccess

This file was deleted.

1 change: 0 additions & 1 deletion sample/modules/startup/models/Startup_model.php

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/startup/models/index.html

This file was deleted.

6 changes: 0 additions & 6 deletions sample/modules/startup/views/.htaccess

This file was deleted.

11 changes: 0 additions & 11 deletions sample/modules/startup/views/index.html

This file was deleted.

0 comments on commit 5a9537a

Please sign in to comment.