Skip to content

Commit 95193c5

Browse files
committed
Use app instead of application
1 parent e609147 commit 95193c5

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

app/Config/Paths.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ class Paths
2727
* APPLICATION FOLDER NAME
2828
*---------------------------------------------------------------
2929
*
30-
* If you want this front controller to use a different "application"
30+
* If you want this front controller to use a different "app"
3131
* folder than the default one you can set its name here. The folder
3232
* can also be renamed or relocated anywhere on your getServer. If
3333
* you do, use a full getServer path. For more info please see the user guide:
3434
* http://codeigniter.com/user_guide/general/managing_apps.html
3535
*
3636
* NO TRAILING SLASH!
3737
*/
38-
public $applicationDirectory = __DIR__ . '/../../application';
38+
public $appDirectory = __DIR__ . '/../../app';
3939

4040
/*
4141
* ---------------------------------------------------------------
@@ -73,5 +73,5 @@ class Paths
7373
* default this is in `application/Views`. This value
7474
* is used when no value is provided to `Services::renderer()`.
7575
*/
76-
public $viewDirectory = __DIR__ . '/../../application/Views';
76+
public $viewDirectory = __DIR__ . '/../../app/Views';
7777
}

public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// Location of the Paths config file.
1515
// This is the line that might need to be changed, depending on your folder structure.
16-
$pathsPath = FCPATH . '../application/Config/Paths.php';
16+
$pathsPath = FCPATH . '../app/Config/Paths.php';
1717

1818
/*
1919
*---------------------------------------------------------------

spark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (substr(php_sapi_name(), 0, 3) === 'cgi')
3333
define('FCPATH', __DIR__ . '/public' . DIRECTORY_SEPARATOR);
3434

3535
// Load our paths config file
36-
require 'application/Config/Paths.php';
36+
require 'app/Config/Paths.php';
3737

3838
$paths = new Config\Paths();
3939

system/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
*/
5252
if (! defined('APPPATH'))
5353
{
54-
define('APPPATH', realpath($paths->applicationDirectory) . DIRECTORY_SEPARATOR);
54+
define('APPPATH', realpath($paths->appDirectory) . DIRECTORY_SEPARATOR);
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)