codeigniter_vender 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/MIT-LICENSE +20 -0
- data/README +40 -0
- data/Rakefile +18 -0
- data/VERSION +1 -0
- data/codeigniter_vender.gemspec +389 -0
- data/generators/ci_app/USAGE +8 -0
- data/generators/ci_app/ci_app_generator.rb +12 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/index.php +118 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/license.txt +52 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/autoload.php +116 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/config.php +329 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/constants.php +41 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/database.php +55 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/doctypes.php +15 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/hooks.php +16 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/mimes.php +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/routes.php +48 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/smileys.php +66 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/user_agents.php +175 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/controllers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/controllers/welcome.php +17 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_404.php +34 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_db.php +34 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_general.php +34 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_php.php +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/helpers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/hooks/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/language/english/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/libraries/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/models/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/views/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/views/welcome_message.php +62 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/cache/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Base4.php +69 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Base5.php +56 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/CodeIgniter.php +280 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Common.php +421 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Compat.php +93 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB.php +146 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_active_rec.php +1820 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_cache.php +195 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_driver.php +1366 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_forge.php +375 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_result.php +342 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_utility.php +389 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_driver.php +667 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_forge.php +248 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_utility.php +123 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_driver.php +670 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_forge.php +254 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_utility.php +245 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_driver.php +671 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_forge.php +254 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_utility.php +123 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_driver.php +780 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_forge.php +248 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_result.php +249 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_utility.php +122 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_driver.php +639 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_forge.php +266 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_result.php +228 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_utility.php +148 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_driver.php +684 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_forge.php +248 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_utility.php +124 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_driver.php +657 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_forge.php +265 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_result.php +179 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_utility.php +141 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/fonts/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/fonts/texb.ttf +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/array_helper.php +78 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/compatibility_helper.php +498 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/cookie_helper.php +144 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/date_helper.php +611 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/directory_helper.php +84 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/download_helper.php +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/email_helper.php +62 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/file_helper.php +464 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/form_helper.php +1025 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/html_helper.php +416 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/inflector_helper.php +171 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/language_helper.php +58 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/number_helper.php +75 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/path_helper.php +72 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/security_helper.php +126 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/smiley_helper.php +273 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/string_helper.php +273 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/text_helper.php +462 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/typography_helper.php +71 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/url_helper.php +593 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/xml_helper.php +62 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/calendar_lang.php +51 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/date_lang.php +60 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/db_lang.php +28 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/email_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/form_validation_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/ftp_lang.php +17 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/imglib_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/number_lang.php +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/profiler_lang.php +19 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/scaffolding_lang.php +17 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/unit_test_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/upload_lang.php +22 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/validation_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Benchmark.php +113 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Calendar.php +477 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Cart.php +550 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Config.php +244 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Controller.php +127 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Email.php +2041 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Encrypt.php +484 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Exceptions.php +174 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Form_validation.php +1278 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Ftp.php +618 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Hooks.php +226 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Image_lib.php +1544 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Input.php +1067 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Language.php +123 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Loader.php +1085 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Log.php +117 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Model.php +83 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Output.php +409 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Pagination.php +244 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Parser.php +173 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Profiler.php +392 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Router.php +389 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Session.php +758 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Sha1.php +251 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Table.php +440 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Trackback.php +547 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Typography.php +406 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/URI.php +586 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Unit_test.php +347 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Upload.php +970 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/User_agent.php +502 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Validation.php +875 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Xmlrpc.php +1421 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Xmlrpcs.php +536 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Zip.php +359 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/logs/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/plugins/captcha_pi.php +356 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/plugins/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/plugins/js_calendar_pi.php +629 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/Scaffolding.php +291 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/images/background.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/images/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/images/logo.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/add.php +32 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/delete.php +9 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/edit.php +33 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/footer.php +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/header.php +29 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/no_data.php +8 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/stylesheet.css +143 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/view.php +27 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/changelog.html +1080 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/active_record.html +757 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/caching.html +220 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/call_function.html +118 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/configuration.html +157 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/connecting.html +186 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/examples.html +217 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/fields.html +163 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/forge.html +234 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/helpers.html +151 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/index.html +99 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/queries.html +153 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/results.html +238 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/table_data.html +113 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/transactions.html +200 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/utilities.html +295 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/doc_style/index.html +86 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/doc_style/template.html +128 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/alternative_php.html +147 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/ancillary_classes.html +117 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/autoloader.html +101 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/caching.html +115 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/common_functions.html +119 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/controllers.html +385 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/core_classes.html +185 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/creating_libraries.html +298 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/credits.html +86 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/errors.html +138 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/helpers.html +185 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/hooks.html +167 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/libraries.html +94 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/managing_apps.html +133 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/models.html +251 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/plugins.html +127 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/profiling.html +104 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/quick_reference.html +77 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/requirements.html +82 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/reserved_names.html +156 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/routing.html +176 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/scaffolding.html +147 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/security.html +153 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/styleguide.html +687 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/urls.html +151 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/views.html +274 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/array_helper.html +119 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/compatibility_helper.html +118 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/cookie_helper.html +147 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/date_helper.html +408 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/directory_helper.html +143 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/download_helper.html +112 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/email_helper.html +102 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/file_helper.html +178 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/form_helper.html +484 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/html_helper.html +385 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/inflector_helper.html +151 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/language_helper.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/number_helper.html +107 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/path_helper.html +106 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/security_helper.html +125 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/smiley_helper.html +215 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/string_helper.html +176 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/text_helper.html +192 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/typography_helper.html +112 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/url_helper.html +289 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/xml_helper.html +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/appflowchart.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/arrow.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/ci_logo.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/ci_logo_flame.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/ci_quick_ref.png +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_helper_reference.pdf +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_helper_reference.png +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_library_reference.pdf +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_library_reference.png +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/file.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/folder.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/nav_bg_darker.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/nav_separator_darker.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/nav_toggle_darker.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/smile.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/transparent.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/index.html +99 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/downloads.html +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/index.html +97 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/troubleshooting.html +90 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_120.html +92 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_130.html +203 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_131.html +102 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_132.html +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_133.html +112 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_140.html +145 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_141.html +148 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_150.html +178 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_152.html +111 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_153.html +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_154.html +116 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_160.html +125 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_161.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_162.html +106 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_163.html +99 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_170.html +121 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_171.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_172.html +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_b11.html +144 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrading.html +101 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/benchmark.html +198 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/calendar.html +249 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/cart.html +346 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/config.html +181 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/email.html +307 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/encryption.html +182 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/file_uploading.html +451 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/form_validation.html +1221 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/ftp.html +303 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/image_lib.html +666 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/input.html +231 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/language.html +137 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/loader.html +214 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/output.html +145 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/pagination.html +218 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/parser.html +208 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/sessions.html +311 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/table.html +292 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/trackback.html +246 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/typography.html +160 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/unit_testing.html +205 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/uri.html +252 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/user_agent.html +201 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/validation.html +740 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/xmlrpc.html +517 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/zip.html +278 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/license.html +107 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/hacks.txt +9 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/moo.fx.js +119 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/moo.fx.pack.js +241 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/nav.js +139 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/prototype.lite.js +127 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/user_guide_menu.js +4 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/appflow.html +95 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/at_a_glance.html +172 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/cheatsheets.html +83 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/features.html +120 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/getting_started.html +92 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/goals.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/index.html +84 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/mvc.html +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/toc.html +209 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/userguide.css +406 -0
- data/generators/ci_app/templates/README +1 -0
- data/generators/ci_controller/USAGE +2 -0
- data/generators/ci_controller/ci_controller_generator.rb +11 -0
- data/generators/ci_controller/templates/ci_controller.php.erb +15 -0
- data/generators/ci_controller/templates/ci_view.php.erb +8 -0
- data/generators/ci_layout/USAGE +2 -0
- data/generators/ci_layout/ci_layout_generator.rb +24 -0
- data/generators/ci_layout/templates/application_layout.php.erb +19 -0
- data/generators/ci_model/USAGE +2 -0
- data/generators/ci_model/ci_model_generator.rb +42 -0
- data/generators/ci_model/templates/ci_model.php.erb +15 -0
- data/generators/ci_model/templates/model.rb +5 -0
- data/generators/ci_model/templates/model_migration.rb.erb +16 -0
- data/init.rb +1 -0
- data/install.rb +1 -0
- data/lib/codeigniter_vender.rb +1 -0
- data/lib/tasks/app.rake +8 -0
- data/test/codeigniter_vender_test.rb +8 -0
- data/test/test_helper.rb +3 -0
- data/uninstall.rb +1 -0
- metadata +411 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
Copyright (c) 2008 - 2010, EllisLab, Inc.
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
This license is a legal agreement between you and EllisLab Inc. for the use
|
5
|
+
of CodeIgniter Software (the "Software"). By obtaining the Software you
|
6
|
+
agree to comply with the terms and conditions of this license.
|
7
|
+
|
8
|
+
PERMITTED USE
|
9
|
+
You are permitted to use, copy, modify, and distribute the Software and its
|
10
|
+
documentation, with or without modification, for any purpose, provided that
|
11
|
+
the following conditions are met:
|
12
|
+
|
13
|
+
1. A copy of this license agreement must be included with the distribution.
|
14
|
+
|
15
|
+
2. Redistributions of source code must retain the above copyright notice in
|
16
|
+
all source code files.
|
17
|
+
|
18
|
+
3. Redistributions in binary form must reproduce the above copyright notice
|
19
|
+
in the documentation and/or other materials provided with the distribution.
|
20
|
+
|
21
|
+
4. Any files that have been modified must carry notices stating the nature
|
22
|
+
of the change and the names of those who changed them.
|
23
|
+
|
24
|
+
5. Products derived from the Software must include an acknowledgment that
|
25
|
+
they are derived from CodeIgniter in their documentation and/or other
|
26
|
+
materials provided with the distribution.
|
27
|
+
|
28
|
+
6. Products derived from the Software may not be called "CodeIgniter",
|
29
|
+
nor may "CodeIgniter" appear in their name, without prior written
|
30
|
+
permission from EllisLab, Inc.
|
31
|
+
|
32
|
+
|
33
|
+
INDEMNITY
|
34
|
+
You agree to indemnify and hold harmless the authors of the Software and
|
35
|
+
any contributors for any direct, indirect, incidental, or consequential
|
36
|
+
third-party claims, actions or suits, as well as any related expenses,
|
37
|
+
liabilities, damages, settlements or fees arising from your use or misuse
|
38
|
+
of the Software, or a violation of any terms of this license.
|
39
|
+
|
40
|
+
DISCLAIMER OF WARRANTY
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR
|
42
|
+
IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF QUALITY, PERFORMANCE,
|
43
|
+
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
|
44
|
+
|
45
|
+
LIMITATIONS OF LIABILITY
|
46
|
+
YOU ASSUME ALL RISK ASSOCIATED WITH THE INSTALLATION AND USE OF THE SOFTWARE.
|
47
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS OF THE SOFTWARE BE LIABLE
|
48
|
+
FOR CLAIMS, DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION
|
49
|
+
WITH THE SOFTWARE. LICENSE HOLDERS ARE SOLELY RESPONSIBLE FOR DETERMINING THE
|
50
|
+
APPROPRIATENESS OF USE AND ASSUME ALL RISKS ASSOCIATED WITH ITS USE, INCLUDING
|
51
|
+
BUT NOT LIMITED TO THE RISKS OF PROGRAM ERRORS, DAMAGE TO EQUIPMENT, LOSS OF
|
52
|
+
DATA OR SOFTWARE PROGRAMS, OR UNAVAILABILITY OR INTERRUPTION OF OPERATIONS.
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
2
|
+
/*
|
3
|
+
| -------------------------------------------------------------------
|
4
|
+
| AUTO-LOADER
|
5
|
+
| -------------------------------------------------------------------
|
6
|
+
| This file specifies which systems should be loaded by default.
|
7
|
+
|
|
8
|
+
| In order to keep the framework as light-weight as possible only the
|
9
|
+
| absolute minimal resources are loaded by default. For example,
|
10
|
+
| the database is not connected to automatically since no assumption
|
11
|
+
| is made regarding whether you intend to use it. This file lets
|
12
|
+
| you globally define which systems you would like loaded with every
|
13
|
+
| request.
|
14
|
+
|
|
15
|
+
| -------------------------------------------------------------------
|
16
|
+
| Instructions
|
17
|
+
| -------------------------------------------------------------------
|
18
|
+
|
|
19
|
+
| These are the things you can load automatically:
|
20
|
+
|
|
21
|
+
| 1. Libraries
|
22
|
+
| 2. Helper files
|
23
|
+
| 3. Plugins
|
24
|
+
| 4. Custom config files
|
25
|
+
| 5. Language files
|
26
|
+
| 6. Models
|
27
|
+
|
|
28
|
+
*/
|
29
|
+
|
30
|
+
/*
|
31
|
+
| -------------------------------------------------------------------
|
32
|
+
| Auto-load Libraries
|
33
|
+
| -------------------------------------------------------------------
|
34
|
+
| These are the classes located in the system/libraries folder
|
35
|
+
| or in your system/application/libraries folder.
|
36
|
+
|
|
37
|
+
| Prototype:
|
38
|
+
|
|
39
|
+
| $autoload['libraries'] = array('database', 'session', 'xmlrpc');
|
40
|
+
*/
|
41
|
+
|
42
|
+
$autoload['libraries'] = array();
|
43
|
+
|
44
|
+
|
45
|
+
/*
|
46
|
+
| -------------------------------------------------------------------
|
47
|
+
| Auto-load Helper Files
|
48
|
+
| -------------------------------------------------------------------
|
49
|
+
| Prototype:
|
50
|
+
|
|
51
|
+
| $autoload['helper'] = array('url', 'file');
|
52
|
+
*/
|
53
|
+
|
54
|
+
$autoload['helper'] = array();
|
55
|
+
|
56
|
+
|
57
|
+
/*
|
58
|
+
| -------------------------------------------------------------------
|
59
|
+
| Auto-load Plugins
|
60
|
+
| -------------------------------------------------------------------
|
61
|
+
| Prototype:
|
62
|
+
|
|
63
|
+
| $autoload['plugin'] = array('captcha', 'js_calendar');
|
64
|
+
*/
|
65
|
+
|
66
|
+
$autoload['plugin'] = array();
|
67
|
+
|
68
|
+
|
69
|
+
/*
|
70
|
+
| -------------------------------------------------------------------
|
71
|
+
| Auto-load Config files
|
72
|
+
| -------------------------------------------------------------------
|
73
|
+
| Prototype:
|
74
|
+
|
|
75
|
+
| $autoload['config'] = array('config1', 'config2');
|
76
|
+
|
|
77
|
+
| NOTE: This item is intended for use ONLY if you have created custom
|
78
|
+
| config files. Otherwise, leave it blank.
|
79
|
+
|
|
80
|
+
*/
|
81
|
+
|
82
|
+
$autoload['config'] = array();
|
83
|
+
|
84
|
+
|
85
|
+
/*
|
86
|
+
| -------------------------------------------------------------------
|
87
|
+
| Auto-load Language files
|
88
|
+
| -------------------------------------------------------------------
|
89
|
+
| Prototype:
|
90
|
+
|
|
91
|
+
| $autoload['language'] = array('lang1', 'lang2');
|
92
|
+
|
|
93
|
+
| NOTE: Do not include the "_lang" part of your file. For example
|
94
|
+
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
95
|
+
|
|
96
|
+
*/
|
97
|
+
|
98
|
+
$autoload['language'] = array();
|
99
|
+
|
100
|
+
|
101
|
+
/*
|
102
|
+
| -------------------------------------------------------------------
|
103
|
+
| Auto-load Models
|
104
|
+
| -------------------------------------------------------------------
|
105
|
+
| Prototype:
|
106
|
+
|
|
107
|
+
| $autoload['model'] = array('model1', 'model2');
|
108
|
+
|
|
109
|
+
*/
|
110
|
+
|
111
|
+
$autoload['model'] = array();
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
/* End of file autoload.php */
|
116
|
+
/* Location: ./system/application/config/autoload.php */
|
@@ -0,0 +1,329 @@
|
|
1
|
+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
2
|
+
|
3
|
+
/*
|
4
|
+
|--------------------------------------------------------------------------
|
5
|
+
| Base Site URL
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
|
|
8
|
+
| URL to your CodeIgniter root. Typically this will be your base URL,
|
9
|
+
| WITH a trailing slash:
|
10
|
+
|
|
11
|
+
| http://example.com/
|
12
|
+
|
|
13
|
+
*/
|
14
|
+
$config['base_url'] = "http://example.com/";
|
15
|
+
|
16
|
+
/*
|
17
|
+
|--------------------------------------------------------------------------
|
18
|
+
| Index File
|
19
|
+
|--------------------------------------------------------------------------
|
20
|
+
|
|
21
|
+
| Typically this will be your index.php file, unless you've renamed it to
|
22
|
+
| something else. If you are using mod_rewrite to remove the page set this
|
23
|
+
| variable so that it is blank.
|
24
|
+
|
|
25
|
+
*/
|
26
|
+
$config['index_page'] = "index.php";
|
27
|
+
|
28
|
+
/*
|
29
|
+
|--------------------------------------------------------------------------
|
30
|
+
| URI PROTOCOL
|
31
|
+
|--------------------------------------------------------------------------
|
32
|
+
|
|
33
|
+
| This item determines which server global should be used to retrieve the
|
34
|
+
| URI string. The default setting of "AUTO" works for most servers.
|
35
|
+
| If your links do not seem to work, try one of the other delicious flavors:
|
36
|
+
|
|
37
|
+
| 'AUTO' Default - auto detects
|
38
|
+
| 'PATH_INFO' Uses the PATH_INFO
|
39
|
+
| 'QUERY_STRING' Uses the QUERY_STRING
|
40
|
+
| 'REQUEST_URI' Uses the REQUEST_URI
|
41
|
+
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
42
|
+
|
|
43
|
+
*/
|
44
|
+
$config['uri_protocol'] = "AUTO";
|
45
|
+
|
46
|
+
/*
|
47
|
+
|--------------------------------------------------------------------------
|
48
|
+
| URL suffix
|
49
|
+
|--------------------------------------------------------------------------
|
50
|
+
|
|
51
|
+
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
|
52
|
+
| For more information please see the user guide:
|
53
|
+
|
|
54
|
+
| http://codeigniter.com/user_guide/general/urls.html
|
55
|
+
*/
|
56
|
+
|
57
|
+
$config['url_suffix'] = "";
|
58
|
+
|
59
|
+
/*
|
60
|
+
|--------------------------------------------------------------------------
|
61
|
+
| Default Language
|
62
|
+
|--------------------------------------------------------------------------
|
63
|
+
|
|
64
|
+
| This determines which set of language files should be used. Make sure
|
65
|
+
| there is an available translation if you intend to use something other
|
66
|
+
| than english.
|
67
|
+
|
|
68
|
+
*/
|
69
|
+
$config['language'] = "english";
|
70
|
+
|
71
|
+
/*
|
72
|
+
|--------------------------------------------------------------------------
|
73
|
+
| Default Character Set
|
74
|
+
|--------------------------------------------------------------------------
|
75
|
+
|
|
76
|
+
| This determines which character set is used by default in various methods
|
77
|
+
| that require a character set to be provided.
|
78
|
+
|
|
79
|
+
*/
|
80
|
+
$config['charset'] = "UTF-8";
|
81
|
+
|
82
|
+
/*
|
83
|
+
|--------------------------------------------------------------------------
|
84
|
+
| Enable/Disable System Hooks
|
85
|
+
|--------------------------------------------------------------------------
|
86
|
+
|
|
87
|
+
| If you would like to use the "hooks" feature you must enable it by
|
88
|
+
| setting this variable to TRUE (boolean). See the user guide for details.
|
89
|
+
|
|
90
|
+
*/
|
91
|
+
$config['enable_hooks'] = FALSE;
|
92
|
+
|
93
|
+
|
94
|
+
/*
|
95
|
+
|--------------------------------------------------------------------------
|
96
|
+
| Class Extension Prefix
|
97
|
+
|--------------------------------------------------------------------------
|
98
|
+
|
|
99
|
+
| This item allows you to set the filename/classname prefix when extending
|
100
|
+
| native libraries. For more information please see the user guide:
|
101
|
+
|
|
102
|
+
| http://codeigniter.com/user_guide/general/core_classes.html
|
103
|
+
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
104
|
+
|
|
105
|
+
*/
|
106
|
+
$config['subclass_prefix'] = 'MY_';
|
107
|
+
|
108
|
+
|
109
|
+
/*
|
110
|
+
|--------------------------------------------------------------------------
|
111
|
+
| Allowed URL Characters
|
112
|
+
|--------------------------------------------------------------------------
|
113
|
+
|
|
114
|
+
| This lets you specify with a regular expression which characters are permitted
|
115
|
+
| within your URLs. When someone tries to submit a URL with disallowed
|
116
|
+
| characters they will get a warning message.
|
117
|
+
|
|
118
|
+
| As a security measure you are STRONGLY encouraged to restrict URLs to
|
119
|
+
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
120
|
+
|
|
121
|
+
| Leave blank to allow all characters -- but only if you are insane.
|
122
|
+
|
|
123
|
+
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
124
|
+
|
|
125
|
+
*/
|
126
|
+
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
|
127
|
+
|
128
|
+
|
129
|
+
/*
|
130
|
+
|--------------------------------------------------------------------------
|
131
|
+
| Enable Query Strings
|
132
|
+
|--------------------------------------------------------------------------
|
133
|
+
|
|
134
|
+
| By default CodeIgniter uses search-engine friendly segment based URLs:
|
135
|
+
| example.com/who/what/where/
|
136
|
+
|
|
137
|
+
| You can optionally enable standard query string based URLs:
|
138
|
+
| example.com?who=me&what=something&where=here
|
139
|
+
|
|
140
|
+
| Options are: TRUE or FALSE (boolean)
|
141
|
+
|
|
142
|
+
| The other items let you set the query string "words" that will
|
143
|
+
| invoke your controllers and its functions:
|
144
|
+
| example.com/index.php?c=controller&m=function
|
145
|
+
|
|
146
|
+
| Please note that some of the helpers won't work as expected when
|
147
|
+
| this feature is enabled, since CodeIgniter is designed primarily to
|
148
|
+
| use segment based URLs.
|
149
|
+
|
|
150
|
+
*/
|
151
|
+
$config['enable_query_strings'] = FALSE;
|
152
|
+
$config['controller_trigger'] = 'c';
|
153
|
+
$config['function_trigger'] = 'm';
|
154
|
+
$config['directory_trigger'] = 'd'; // experimental not currently in use
|
155
|
+
|
156
|
+
/*
|
157
|
+
|--------------------------------------------------------------------------
|
158
|
+
| Error Logging Threshold
|
159
|
+
|--------------------------------------------------------------------------
|
160
|
+
|
|
161
|
+
| If you have enabled error logging, you can set an error threshold to
|
162
|
+
| determine what gets logged. Threshold options are:
|
163
|
+
| You can enable error logging by setting a threshold over zero. The
|
164
|
+
| threshold determines what gets logged. Threshold options are:
|
165
|
+
|
|
166
|
+
| 0 = Disables logging, Error logging TURNED OFF
|
167
|
+
| 1 = Error Messages (including PHP errors)
|
168
|
+
| 2 = Debug Messages
|
169
|
+
| 3 = Informational Messages
|
170
|
+
| 4 = All Messages
|
171
|
+
|
|
172
|
+
| For a live site you'll usually only enable Errors (1) to be logged otherwise
|
173
|
+
| your log files will fill up very fast.
|
174
|
+
|
|
175
|
+
*/
|
176
|
+
$config['log_threshold'] = 0;
|
177
|
+
|
178
|
+
/*
|
179
|
+
|--------------------------------------------------------------------------
|
180
|
+
| Error Logging Directory Path
|
181
|
+
|--------------------------------------------------------------------------
|
182
|
+
|
|
183
|
+
| Leave this BLANK unless you would like to set something other than the default
|
184
|
+
| system/logs/ folder. Use a full server path with trailing slash.
|
185
|
+
|
|
186
|
+
*/
|
187
|
+
$config['log_path'] = '';
|
188
|
+
|
189
|
+
/*
|
190
|
+
|--------------------------------------------------------------------------
|
191
|
+
| Date Format for Logs
|
192
|
+
|--------------------------------------------------------------------------
|
193
|
+
|
|
194
|
+
| Each item that is logged has an associated date. You can use PHP date
|
195
|
+
| codes to set your own date formatting
|
196
|
+
|
|
197
|
+
*/
|
198
|
+
$config['log_date_format'] = 'Y-m-d H:i:s';
|
199
|
+
|
200
|
+
/*
|
201
|
+
|--------------------------------------------------------------------------
|
202
|
+
| Cache Directory Path
|
203
|
+
|--------------------------------------------------------------------------
|
204
|
+
|
|
205
|
+
| Leave this BLANK unless you would like to set something other than the default
|
206
|
+
| system/cache/ folder. Use a full server path with trailing slash.
|
207
|
+
|
|
208
|
+
*/
|
209
|
+
$config['cache_path'] = '';
|
210
|
+
|
211
|
+
/*
|
212
|
+
|--------------------------------------------------------------------------
|
213
|
+
| Encryption Key
|
214
|
+
|--------------------------------------------------------------------------
|
215
|
+
|
|
216
|
+
| If you use the Encryption class or the Sessions class with encryption
|
217
|
+
| enabled you MUST set an encryption key. See the user guide for info.
|
218
|
+
|
|
219
|
+
*/
|
220
|
+
$config['encryption_key'] = "";
|
221
|
+
|
222
|
+
/*
|
223
|
+
|--------------------------------------------------------------------------
|
224
|
+
| Session Variables
|
225
|
+
|--------------------------------------------------------------------------
|
226
|
+
|
|
227
|
+
| 'session_cookie_name' = the name you want for the cookie
|
228
|
+
| 'encrypt_sess_cookie' = TRUE/FALSE (boolean). Whether to encrypt the cookie
|
229
|
+
| 'session_expiration' = the number of SECONDS you want the session to last.
|
230
|
+
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
|
231
|
+
| 'time_to_update' = how many seconds between CI refreshing Session Information
|
232
|
+
|
|
233
|
+
*/
|
234
|
+
$config['sess_cookie_name'] = 'ci_session';
|
235
|
+
$config['sess_expiration'] = 7200;
|
236
|
+
$config['sess_encrypt_cookie'] = FALSE;
|
237
|
+
$config['sess_use_database'] = FALSE;
|
238
|
+
$config['sess_table_name'] = 'ci_sessions';
|
239
|
+
$config['sess_match_ip'] = FALSE;
|
240
|
+
$config['sess_match_useragent'] = TRUE;
|
241
|
+
$config['sess_time_to_update'] = 300;
|
242
|
+
|
243
|
+
/*
|
244
|
+
|--------------------------------------------------------------------------
|
245
|
+
| Cookie Related Variables
|
246
|
+
|--------------------------------------------------------------------------
|
247
|
+
|
|
248
|
+
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
|
249
|
+
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
|
250
|
+
| 'cookie_path' = Typically will be a forward slash
|
251
|
+
|
|
252
|
+
*/
|
253
|
+
$config['cookie_prefix'] = "";
|
254
|
+
$config['cookie_domain'] = "";
|
255
|
+
$config['cookie_path'] = "/";
|
256
|
+
|
257
|
+
/*
|
258
|
+
|--------------------------------------------------------------------------
|
259
|
+
| Global XSS Filtering
|
260
|
+
|--------------------------------------------------------------------------
|
261
|
+
|
|
262
|
+
| Determines whether the XSS filter is always active when GET, POST or
|
263
|
+
| COOKIE data is encountered
|
264
|
+
|
|
265
|
+
*/
|
266
|
+
$config['global_xss_filtering'] = FALSE;
|
267
|
+
|
268
|
+
/*
|
269
|
+
|--------------------------------------------------------------------------
|
270
|
+
| Output Compression
|
271
|
+
|--------------------------------------------------------------------------
|
272
|
+
|
|
273
|
+
| Enables Gzip output compression for faster page loads. When enabled,
|
274
|
+
| the output class will test whether your server supports Gzip.
|
275
|
+
| Even if it does, however, not all browsers support compression
|
276
|
+
| so enable only if you are reasonably sure your visitors can handle it.
|
277
|
+
|
|
278
|
+
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
|
279
|
+
| means you are prematurely outputting something to your browser. It could
|
280
|
+
| even be a line of whitespace at the end of one of your scripts. For
|
281
|
+
| compression to work, nothing can be sent before the output buffer is called
|
282
|
+
| by the output class. Do not "echo" any values with compression enabled.
|
283
|
+
|
|
284
|
+
*/
|
285
|
+
$config['compress_output'] = FALSE;
|
286
|
+
|
287
|
+
/*
|
288
|
+
|--------------------------------------------------------------------------
|
289
|
+
| Master Time Reference
|
290
|
+
|--------------------------------------------------------------------------
|
291
|
+
|
|
292
|
+
| Options are "local" or "gmt". This pref tells the system whether to use
|
293
|
+
| your server's local time as the master "now" reference, or convert it to
|
294
|
+
| GMT. See the "date helper" page of the user guide for information
|
295
|
+
| regarding date handling.
|
296
|
+
|
|
297
|
+
*/
|
298
|
+
$config['time_reference'] = 'local';
|
299
|
+
|
300
|
+
|
301
|
+
/*
|
302
|
+
|--------------------------------------------------------------------------
|
303
|
+
| Rewrite PHP Short Tags
|
304
|
+
|--------------------------------------------------------------------------
|
305
|
+
|
|
306
|
+
| If your PHP installation does not have short tag support enabled CI
|
307
|
+
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
|
308
|
+
| in your view files. Options are TRUE or FALSE (boolean)
|
309
|
+
|
|
310
|
+
*/
|
311
|
+
$config['rewrite_short_tags'] = FALSE;
|
312
|
+
|
313
|
+
|
314
|
+
/*
|
315
|
+
|--------------------------------------------------------------------------
|
316
|
+
| Reverse Proxy IPs
|
317
|
+
|--------------------------------------------------------------------------
|
318
|
+
|
|
319
|
+
| If your server is behind a reverse proxy, you must whitelist the proxy IP
|
320
|
+
| addresses from which CodeIgniter should trust the HTTP_X_FORWARDED_FOR
|
321
|
+
| header in order to properly identify the visitor's IP address.
|
322
|
+
| Comma-delimited, e.g. '10.0.1.200,10.0.1.201'
|
323
|
+
|
|
324
|
+
*/
|
325
|
+
$config['proxy_ips'] = '';
|
326
|
+
|
327
|
+
|
328
|
+
/* End of file config.php */
|
329
|
+
/* Location: ./system/application/config/config.php */
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
2
|
+
|
3
|
+
/*
|
4
|
+
|--------------------------------------------------------------------------
|
5
|
+
| File and Directory Modes
|
6
|
+
|--------------------------------------------------------------------------
|
7
|
+
|
|
8
|
+
| These prefs are used when checking and setting modes when working
|
9
|
+
| with the file system. The defaults are fine on servers with proper
|
10
|
+
| security, but you may wish (or even need) to change the values in
|
11
|
+
| certain environments (Apache running a separate process for each
|
12
|
+
| user, PHP under CGI with Apache suEXEC, etc.). Octal values should
|
13
|
+
| always be used to set the mode correctly.
|
14
|
+
|
|
15
|
+
*/
|
16
|
+
define('FILE_READ_MODE', 0644);
|
17
|
+
define('FILE_WRITE_MODE', 0666);
|
18
|
+
define('DIR_READ_MODE', 0755);
|
19
|
+
define('DIR_WRITE_MODE', 0777);
|
20
|
+
|
21
|
+
/*
|
22
|
+
|--------------------------------------------------------------------------
|
23
|
+
| File Stream Modes
|
24
|
+
|--------------------------------------------------------------------------
|
25
|
+
|
|
26
|
+
| These modes are used when working with fopen()/popen()
|
27
|
+
|
|
28
|
+
*/
|
29
|
+
|
30
|
+
define('FOPEN_READ', 'rb');
|
31
|
+
define('FOPEN_READ_WRITE', 'r+b');
|
32
|
+
define('FOPEN_WRITE_CREATE_DESTRUCTIVE', 'wb'); // truncates existing file data, use with care
|
33
|
+
define('FOPEN_READ_WRITE_CREATE_DESTRUCTIVE', 'w+b'); // truncates existing file data, use with care
|
34
|
+
define('FOPEN_WRITE_CREATE', 'ab');
|
35
|
+
define('FOPEN_READ_WRITE_CREATE', 'a+b');
|
36
|
+
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
|
37
|
+
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
|
38
|
+
|
39
|
+
|
40
|
+
/* End of file constants.php */
|
41
|
+
/* Location: ./system/application/config/constants.php */
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
2
|
+
/*
|
3
|
+
| -------------------------------------------------------------------
|
4
|
+
| DATABASE CONNECTIVITY SETTINGS
|
5
|
+
| -------------------------------------------------------------------
|
6
|
+
| This file will contain the settings needed to access your database.
|
7
|
+
|
|
8
|
+
| For complete instructions please consult the "Database Connection"
|
9
|
+
| page of the User Guide.
|
10
|
+
|
|
11
|
+
| -------------------------------------------------------------------
|
12
|
+
| EXPLANATION OF VARIABLES
|
13
|
+
| -------------------------------------------------------------------
|
14
|
+
|
|
15
|
+
| ['hostname'] The hostname of your database server.
|
16
|
+
| ['username'] The username used to connect to the database
|
17
|
+
| ['password'] The password used to connect to the database
|
18
|
+
| ['database'] The name of the database you want to connect to
|
19
|
+
| ['dbdriver'] The database type. ie: mysql. Currently supported:
|
20
|
+
mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
|
21
|
+
| ['dbprefix'] You can add an optional prefix, which will be added
|
22
|
+
| to the table name when using the Active Record class
|
23
|
+
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
|
24
|
+
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
|
25
|
+
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
|
26
|
+
| ['cachedir'] The path to the folder where cache files should be stored
|
27
|
+
| ['char_set'] The character set used in communicating with the database
|
28
|
+
| ['dbcollat'] The character collation used in communicating with the database
|
29
|
+
|
|
30
|
+
| The $active_group variable lets you choose which connection group to
|
31
|
+
| make active. By default there is only one group (the "default" group).
|
32
|
+
|
|
33
|
+
| The $active_record variables lets you determine whether or not to load
|
34
|
+
| the active record class
|
35
|
+
*/
|
36
|
+
|
37
|
+
$active_group = "default";
|
38
|
+
$active_record = TRUE;
|
39
|
+
|
40
|
+
$db['default']['hostname'] = "localhost";
|
41
|
+
$db['default']['username'] = "";
|
42
|
+
$db['default']['password'] = "";
|
43
|
+
$db['default']['database'] = "";
|
44
|
+
$db['default']['dbdriver'] = "mysql";
|
45
|
+
$db['default']['dbprefix'] = "";
|
46
|
+
$db['default']['pconnect'] = TRUE;
|
47
|
+
$db['default']['db_debug'] = TRUE;
|
48
|
+
$db['default']['cache_on'] = FALSE;
|
49
|
+
$db['default']['cachedir'] = "";
|
50
|
+
$db['default']['char_set'] = "utf8";
|
51
|
+
$db['default']['dbcollat'] = "utf8_general_ci";
|
52
|
+
|
53
|
+
|
54
|
+
/* End of file database.php */
|
55
|
+
/* Location: ./system/application/config/database.php */
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
2
|
+
|
3
|
+
$_doctypes = array(
|
4
|
+
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
5
|
+
'xhtml1-strict' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">',
|
6
|
+
'xhtml1-trans' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
|
7
|
+
'xhtml1-frame' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">',
|
8
|
+
'html5' => '<!DOCTYPE html>',
|
9
|
+
'html4-strict' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">',
|
10
|
+
'html4-trans' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',
|
11
|
+
'html4-frame' => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'
|
12
|
+
);
|
13
|
+
|
14
|
+
/* End of file doctypes.php */
|
15
|
+
/* Location: application/config/doctypes.php */
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
2
|
+
/*
|
3
|
+
| -------------------------------------------------------------------------
|
4
|
+
| Hooks
|
5
|
+
| -------------------------------------------------------------------------
|
6
|
+
| This file lets you define "hooks" to extend CI without hacking the core
|
7
|
+
| files. Please see the user guide for info:
|
8
|
+
|
|
9
|
+
| http://codeigniter.com/user_guide/general/hooks.html
|
10
|
+
|
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
/* End of file hooks.php */
|
16
|
+
/* Location: ./system/application/config/hooks.php */
|