Skip to content

Commit 5df8b21

Browse files
committed
Merge pull request #185 from diggy/patch-app-slash
remove superfluous slashes
2 parents 1d78349 + 0841e5d commit 5df8b21

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

application/core/controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private function openDatabaseConnection()
4343
*/
4444
public function loadModel()
4545
{
46-
require APP . '/model/model.php';
46+
require APP . 'model/model.php';
4747
// create new "model" (and pass the database connection)
4848
$this->model = new Model($this->db);
4949
}

public/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
}
2626

2727
// load application config (error reporting etc.)
28-
require APP . '/config/config.php';
28+
require APP . 'config/config.php';
2929

3030
// FOR DEVELOPMENT: this loads PDO-debug, a simple function that shows the SQL query (when using PDO).
3131
// If you want to load pdoDebug via Composer, then have a look here: https://github.com/panique/pdo-debug
32-
require APP . '/libs/helper.php';
32+
require APP . 'libs/helper.php';
3333

3434
// load application class
35-
require APP . '/core/application.php';
36-
require APP . '/core/controller.php';
35+
require APP . 'core/application.php';
36+
require APP . 'core/controller.php';
3737

3838
// start the application
3939
$app = new Application();

0 commit comments

Comments
 (0)