-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6cf777f
Showing
523 changed files
with
221,119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.DS_Store | ||
|
||
application/cache/* | ||
!application/cache/index.html | ||
!application/cache/.htaccess | ||
|
||
application/logs/* | ||
!application/logs/index.html | ||
!application/logs/.htaccess | ||
|
||
user_guide_src/build/* | ||
user_guide_src/cilexer/build/* | ||
user_guide_src/cilexer/dist/* | ||
user_guide_src/cilexer/pycilexer.egg-info/* | ||
/vendor/ | ||
|
||
# IDE Files | ||
#------------------------- | ||
/nbproject/ | ||
.idea/* | ||
|
||
## Sublime Text cache files | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
*.sublime-workspace | ||
*.sublime-project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
RewriteCond $1 !^(index\.php|resources|robots\.txt) | ||
|
||
RewriteCond %{REQUEST_URI} ^system.* | ||
RewriteRule ^(.*)$ /aci-harviacode/index.php?/$1 [L] | ||
|
||
RewriteCond %{REQUEST_URI} ^application.* | ||
RewriteRule ^(.*)$ /aci-harviacode/index.php?/$1 [L] | ||
|
||
RewriteCond %{REQUEST_URI} ^asset.* | ||
RewriteRule ^(.*)$ /aci-harviacode/index.php?/$1 [L] | ||
|
||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^(.*)$ /aci-harviacode/index.php/$1 [L] | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Codeigniter CRUD Generator 1.4 by [harviacode.com](http://harviacode.com)# | ||
|
||
## About : ## | ||
|
||
Codeigniter CRUD Generator is a simple tool to auto generate model, controller and view from your table. This tool will boost your writing code. This CRUD generator will make a complete CRUD operation, pagination, search, form*, form validation, export to excel and export to word. This CRUD Generator using bootstrap 3 style. You still need to modify the result code for more customization. | ||
|
||
*generate textarea and text input only | ||
|
||
Please visit and like [harviacode.com](http://harviacode.com) for more info and PHP tutorials. | ||
|
||
## Preparation before using this CRUD Generator (Important) : ## | ||
|
||
* On application/config/autoload.php, load database library, session library and url helper. | ||
* On application/config/config.php, set $config['base_url'] = 'http://localhost/yourprojectname', $config['index_page'] = '', $config['url_suffix'] = '.html' and $config['encryption_key'] = 'randomstring' | ||
* On application/config/database.php, set hostname, username, password and database | ||
|
||
## How to use this CRUD Generator : ## | ||
|
||
1. Simply put 'harviacode' folder, 'asset' folder and .htaccess file into your project root folder. | ||
2. Open http://localhost/yourprojectname/harviacode. | ||
3. Select table and push generate button. | ||
|
||
OR | ||
|
||
watch video on https://youtu.be/OHZ7hhRLUZM | ||
|
||
## FAQ : ## | ||
|
||
* Select table show no data. Make sure you have correct database configuration on application/config/database.php and load database library on autoload. | ||
* Error chmod on mac and linux. Please change your application folder and harviacode folder chmod to 777 | ||
* Error 404 when click Create, Read, Update, Delete or Next Page. Make sure your mod_rewrite is active and you can access http://localhost/yourproject/welcome. The problem is on htaccess. Still have problem? please go to google and search how to remove index.php codeigniter. | ||
* Error cannot Read, Update, Delete. Make sure your table have primary key. | ||
|
||
## Thanks for Support Me ## | ||
Buy me a cup of coffee.. paypal : [email protected] | ||
|
||
## Update ## | ||
V.1.4 - 26 November 2016 | ||
|
||
* Change to serverside datatables using ignited datatables | ||
|
||
V.1.3.1 - 05 April 2016 | ||
|
||
* Put view files into folder | ||
|
||
|
||
V.1.3 - 09 December 2015 | ||
|
||
* Zero Config for database connection | ||
* Fix bug searching | ||
* Fix field name label | ||
* Add select table from database | ||
* Add generate all table | ||
* Select target folder from setting menu | ||
* Remove support for Codeigniter 2 | ||
|
||
V.1.2 - 25 June 2015 | ||
|
||
* Add custom target folder | ||
* Add export to excel | ||
* Add export to word | ||
|
||
V.1.1 - 21 May 2015 | ||
|
||
* Add custom controller name and custom model name | ||
* Add client side datatables | ||
|
||
**Copyright 2015 [harviacode.com](http://harviacode.com)** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<IfModule authz_core_module> | ||
Require all denied | ||
</IfModule> | ||
<IfModule !authz_core_module> | ||
Deny from all | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<IfModule authz_core_module> | ||
Require all denied | ||
</IfModule> | ||
<IfModule !authz_core_module> | ||
Deny from all | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>403 Forbidden</title> | ||
</head> | ||
<body> | ||
|
||
<p>Directory access is forbidden.</p> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<?php | ||
defined('BASEPATH') OR exit('No direct script access allowed'); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| AUTO-LOADER | ||
| ------------------------------------------------------------------- | ||
| This file specifies which systems should be loaded by default. | ||
| | ||
| In order to keep the framework as light-weight as possible only the | ||
| absolute minimal resources are loaded by default. For example, | ||
| the database is not connected to automatically since no assumption | ||
| is made regarding whether you intend to use it. This file lets | ||
| you globally define which systems you would like loaded with every | ||
| request. | ||
| | ||
| ------------------------------------------------------------------- | ||
| Instructions | ||
| ------------------------------------------------------------------- | ||
| | ||
| These are the things you can load automatically: | ||
| | ||
| 1. Packages | ||
| 2. Libraries | ||
| 3. Drivers | ||
| 4. Helper files | ||
| 5. Custom config files | ||
| 6. Language files | ||
| 7. Models | ||
| | ||
*/ | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Packages | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['packages'] = array(APPPATH.'third_party', '/usr/local/shared'); | ||
| | ||
*/ | ||
$autoload['packages'] = array(); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Libraries | ||
| ------------------------------------------------------------------- | ||
| These are the classes located in system/libraries/ or your | ||
| application/libraries/ directory, with the addition of the | ||
| 'database' library, which is somewhat of a special case. | ||
| | ||
| Prototype: | ||
| | ||
| $autoload['libraries'] = array('database', 'email', 'session'); | ||
| | ||
| You can also supply an alternative library name to be assigned | ||
| in the controller: | ||
| | ||
| $autoload['libraries'] = array('user_agent' => 'ua'); | ||
*/ | ||
$autoload['libraries'] = array('database','session'); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Drivers | ||
| ------------------------------------------------------------------- | ||
| These classes are located in system/libraries/ or in your | ||
| application/libraries/ directory, but are also placed inside their | ||
| own subdirectory and they extend the CI_Driver_Library class. They | ||
| offer multiple interchangeable driver options. | ||
| | ||
| Prototype: | ||
| | ||
| $autoload['drivers'] = array('cache'); | ||
| | ||
| You can also supply an alternative property name to be assigned in | ||
| the controller: | ||
| | ||
| $autoload['drivers'] = array('cache' => 'cch'); | ||
| | ||
*/ | ||
$autoload['drivers'] = array(); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Helper Files | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['helper'] = array('url', 'file'); | ||
*/ | ||
$autoload['helper'] = array('url'); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Config files | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['config'] = array('config1', 'config2'); | ||
| | ||
| NOTE: This item is intended for use ONLY if you have created custom | ||
| config files. Otherwise, leave it blank. | ||
| | ||
*/ | ||
$autoload['config'] = array(); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Language files | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['language'] = array('lang1', 'lang2'); | ||
| | ||
| NOTE: Do not include the "_lang" part of your file. For example | ||
| "codeigniter_lang.php" would be referenced as array('codeigniter'); | ||
| | ||
*/ | ||
$autoload['language'] = array(); | ||
|
||
/* | ||
| ------------------------------------------------------------------- | ||
| Auto-load Models | ||
| ------------------------------------------------------------------- | ||
| Prototype: | ||
| | ||
| $autoload['model'] = array('first_model', 'second_model'); | ||
| | ||
| You can also supply an alternative model name to be assigned | ||
| in the controller: | ||
| | ||
| $autoload['model'] = array('first_model' => 'first'); | ||
*/ | ||
$autoload['model'] = array(); |
Oops, something went wrong.