...
This commit is contained in:
parent
e19bf6b3e4
commit
be413538de
5 changed files with 22 additions and 0 deletions
14
MyObsidianVault/WebDev/2 CodeIgniter/1.) Create project.md
Normal file
14
MyObsidianVault/WebDev/2 CodeIgniter/1.) Create project.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
```bash
|
||||
devilbox@php-8.1.14 in /shared/httpd $ pwd
|
||||
/shared/httpd
|
||||
|
||||
|
||||
mkdir myproject
|
||||
cd myproject
|
||||
composer create-project codeigniter4/appstarter myprojectapp
|
||||
ln -s myprojectapp/public htdocs
|
||||
```
|
||||
|
||||
```bash
|
||||
composer require codeigniter4/shield
|
||||
```
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
Config/App.php
|
||||
|
||||
```php
|
||||
|
||||
public bool $negotiateLocale = true;
|
||||
public string $defaultLocale = 'en';
|
||||
public array $supportedLocales = ['en', 'de'];
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue