Configures MOD REWRITE + URLMANAGER
This commit is contained in:
parent
5dfb77ec5e
commit
374648bce3
10
.idea/codeStyleSettings.xml
generated
Normal file
10
.idea/codeStyleSettings.xml
generated
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
generated
Normal file
3
.idea/dictionaries/Mike.xml
generated
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<component name="ProjectDictionaryState">
|
||||||
|
<dictionary name="Mike" />
|
||||||
|
</component>
|
11
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
11
.idea/inspectionProfiles/Project_Default.xml
generated
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
generated
Normal file
7
.idea/inspectionProfiles/profiles_settings.xml
generated
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
generated
3348
.idea/workspace.xml
generated
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
|
// application components
|
||||||
'components'=>array(
|
'components'=>array(
|
||||||
'bootstrap' => array(
|
'bootstrap' => array(
|
||||||
'class' => 'bootstrap.components.TbApi',
|
'class' => 'bootstrap.components.TbApi',
|
||||||
),
|
),
|
||||||
|
|
||||||
'user'=>array(
|
'user'=>array(
|
||||||
@ -46,16 +46,26 @@ return ArrayX::merge(array(
|
|||||||
),
|
),
|
||||||
|
|
||||||
// uncomment the following to enable URLs in path-format
|
// uncomment the following to enable URLs in path-format
|
||||||
/*
|
|
||||||
'urlManager'=>array(
|
'urlManager'=>array(
|
||||||
'urlFormat'=>'path',
|
'urlFormat' => 'path',
|
||||||
|
//'caseSensitive' => true,
|
||||||
|
'showScriptName' => true,
|
||||||
'rules'=>array(
|
'rules'=>array(
|
||||||
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
|
|
||||||
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
|
'' => 'site/index',
|
||||||
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
|
'<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(
|
'log'=>array(
|
||||||
'class'=>'CLogRouter',
|
'class'=>'CLogRouter',
|
||||||
|
Loading…
Reference in New Issue
Block a user