This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathREADME
85 lines (66 loc) · 2.72 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
CodeIgniter (2.1.0) Starting Point - Status = production ready
====================================================================
A custom CodeIgniter installation with useful libraries, helpers, fixes, and useful modifications to the standard distributed code released by Ellis Labs.
Changes and Additions
=====================
CI settings
- Saving session data to db
- Autoloading helpers, libraries, and config files
CI restructuring
- Moved application/config/database.php to application/config/database.php-default
.htaccess
- Mod_Rewrite rules to create pretty urls
crossdomain.xml
- None policy so access is not allowed from other domains - e.g. flash
Git ignore
- Ignored application/config/database.php
- Ignored application/config/settings_environment.php
- Ignored log files
- Ignored cache files
Constants - Added useful info
- Website name and slogan
- Meta description and keywords
- Twitter & Blog RSS feeds
- Email address' - support, developer, system
Environment settings - application/config/system_environment.php
- Profiler ON/OFF
- Email error log ON/OFF
Added base controllers
- Frontend
- Admin
- Shared
Helpers
- Debug
- Time - https://github.com/ollierattue/codeigniter-time-helper
- URL
- Form
- Tax helper (UK VAT rate)
- Page
- Template
Libraries
- Links library - Save database table names into application/config/database_tables.php and the array key is then used in models. This means a table rename only needs to be updated in one place.
- Autoresponder - https://github.com/ollierattue/codeigniter-autoresponder
- SimpleLoginSecure auth library - http://codeigniter.com/wiki/SimpleLoginSecure/
- Router extension - allows controllers to have multiple directories - https://github.com/ollierattue/codeigniter-multi-level-controller-extension
- URI library extension - filter_uri() now allows url_encode characters
- Form validation extension - added greater_than_or_equal(), email_available() with ajax support, current_password_check()
- Log library extension - emails errors to developer - http://wpstorm.net/2009/05/email-log-messages-library-codeigniter/
- Session library extension - set_flashmessage() with 'success' or 'error' status which adds div formatting as applicable.
- DB utility library extension - fixed bug in csv_from_result() and added html encoding
Models and db
- Countries db table and model
Controllers and views
- Admin login, dashboard, logout functionality
- Amnesia - forgotten password reset
CSS
- Structured in frontend, admin, and shared directories
- Useful generic helper and reset code
- Useful form, development, and flash_data styling
Javascript
- jQuery
- Json js encode/decode functions
Images
- Image directory with useful icons
TODO
====
- Move to Tank Auth library from SimpleLoginSecure