From 40222a4c19dd0ae75d83d19fc4411a79ce6ebefd Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Tue, 28 Feb 2023 14:09:32 +0530 Subject: [PATCH] file : ps --- .editorconfig | 15 +++++++++++ .gitignore | 71 +++++++++++++++++++-------------------------------- .htaccess | 6 +++++ 3 files changed, 47 insertions(+), 45 deletions(-) create mode 100644 .editorconfig create mode 100644 .htaccess diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..39f48d9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*] +charset = utf-8 + +# Tab indentation (no size specified) +indent_style = tab diff --git a/.gitignore b/.gitignore index b24d71e..269044e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,50 +1,31 @@ -# These are some examples of commonly ignored file patterns. -# You should customize this list as applicable to your project. -# Learn more about .gitignore: -# https://www.atlassian.com/git/tutorials/saving-changes/gitignore - -# Node artifact files -node_modules/ -dist/ - -# Compiled Java class files -*.class - -# Compiled Python bytecode -*.py[cod] - -# Log files -*.log - -# Package files -*.jar - -# Maven -target/ -dist/ - -# JetBrains IDE -.idea/ - -# Unit test reports -TEST*.xml - -# Generated by MacOS .DS_Store -# Generated by Windows -Thumbs.db +application/cache/* +!application/cache/index.html -# Applications -*.app -*.exe -*.war +application/logs/* +!application/logs/index.html -# Large media files -*.mp4 -*.tiff -*.avi -*.flv -*.mov -*.wmv +!application/*/.htaccess +composer.lock + +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 +/tests/tests/ +/tests/results/ diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..fc2d52e --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On +#RewriteCond %{HTTP_HOST} !^www\. +#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ index.php/$1 [L] \ No newline at end of file