Configures MOD REWRITE + URLMANAGER
This commit is contained in:
parent
5dfb77ec5e
commit
374648bce3
10
.idea/codeStyleSettings.xml
Normal file
10
.idea/codeStyleSettings.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectCodeStyleSettingsManager">
|
||||
<option name="PER_PROJECT_SETTINGS">
|
||||
<value />
|
||||
</option>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default (1)" />
|
||||
</component>
|
||||
</project>
|
||||
|
3
.idea/dictionaries/Mike.xml
Normal file
3
.idea/dictionaries/Mike.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<component name="ProjectDictionaryState">
|
||||
<dictionary name="Mike" />
|
||||
</component>
|
11
.idea/inspectionProfiles/Project_Default.xml
Normal file
11
.idea/inspectionProfiles/Project_Default.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0" is_locked="false">
|
||||
<option name="myName" value="Project Default" />
|
||||
<option name="myLocal" value="false" />
|
||||
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
|
||||
<option name="processCode" value="true" />
|
||||
<option name="processLiterals" value="true" />
|
||||
<option name="processComments" value="true" />
|
||||
</inspection_tool>
|
||||
</profile>
|
||||
</component>
|
7
.idea/inspectionProfiles/profiles_settings.xml
Normal file
7
.idea/inspectionProfiles/profiles_settings.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="PROJECT_PROFILE" value="Project Default" />
|
||||
<option name="USE_PROJECT_PROFILE" value="true" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
3348
.idea/workspace.xml
3348
.idea/workspace.xml
File diff suppressed because it is too large
Load Diff
8
www/.htaccess
Normal file
8
www/.htaccess
Normal file
@ -0,0 +1,8 @@
|
||||
RewriteEngine on
|
||||
|
||||
# Verwende Verzeichnis oder Datei, wenn sie vorhanden sind
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
|
||||
# Leite andernfalls auf index.php um
|
||||
RewriteRule . index.php
|
@ -37,7 +37,7 @@ return ArrayX::merge(array(
|
||||
// application components
|
||||
'components'=>array(
|
||||
'bootstrap' => array(
|
||||
'class' => 'bootstrap.components.TbApi',
|
||||
'class' => 'bootstrap.components.TbApi',
|
||||
),
|
||||
|
||||
'user'=>array(
|
||||
@ -46,16 +46,26 @@ return ArrayX::merge(array(
|
||||
),
|
||||
|
||||
// uncomment the following to enable URLs in path-format
|
||||
/*
|
||||
|
||||
'urlManager'=>array(
|
||||
'urlFormat'=>'path',
|
||||
'urlFormat' => 'path',
|
||||
//'caseSensitive' => true,
|
||||
'showScriptName' => true,
|
||||
'rules'=>array(
|
||||
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
|
||||
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
|
||||
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
|
||||
|
||||
'' => 'site/index',
|
||||
'<action:(index|about)>' => 'site/<action>',
|
||||
|
||||
'gii' => 'gii',
|
||||
'gii/<controller:\w+>' => 'gii/<controller>',
|
||||
'gii/<controller:\w+>/<action:\w+>' => 'gii/<controller>/<action>',
|
||||
|
||||
// '<controller:\w+>/<id:\d+>' => '<controller>/view',
|
||||
// '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
|
||||
// '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
|
||||
),
|
||||
),
|
||||
*/
|
||||
|
||||
|
||||
'log'=>array(
|
||||
'class'=>'CLogRouter',
|
||||
|
Loading…
Reference in New Issue
Block a user