mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: add filename to the Paths
This commit is contained in:
parent
e9cfa97d33
commit
fa612c89df
@ -40,13 +40,13 @@ Code Example
|
||||
CodeIgniter Version 3.x
|
||||
------------------------
|
||||
|
||||
Path: **application/config**:
|
||||
Path: **application/config/site.php**:
|
||||
|
||||
.. literalinclude:: upgrade_configuration/ci3sample/001.php
|
||||
|
||||
CodeIgniter Version 4.x
|
||||
-----------------------
|
||||
|
||||
Path: **app/Config**:
|
||||
Path: **app/Config/Site.php**:
|
||||
|
||||
.. literalinclude:: upgrade_configuration/001.php
|
||||
|
@ -4,7 +4,7 @@ namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class CustomClass extends BaseConfig
|
||||
class Site extends BaseConfig
|
||||
{
|
||||
public $siteName = 'My Great Site';
|
||||
public $siteEmail = 'webmaster@example.com';
|
||||
|
Loading…
x
Reference in New Issue
Block a user