Skip to content

Commit 14f53c8

Browse files
Added a basic "home" page because the client still thinks I'm getting paid by the feature.
1 parent 5d06ddd commit 14f53c8

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
/*
3+
* Spindle CMS
4+
* Copyright (c) 2025. All rights reserved.
5+
*
6+
* This file is part of the Spindle CMS project — a lightweight, modular PHP content framework derived from OpenCart.
7+
*
8+
* @license GNU General Public License v3.0 (GPL-3.0-or-later)
9+
* @link https://github.com/RandomCoderTinker/Spindle
10+
*/
11+
12+
namespace Spindle\App\Controller\Common;
13+
14+
use Spindle\System\Engine\Controller;
15+
16+
class Home extends Controller
17+
{
18+
19+
public function index ()
20+
{
21+
$data['testing'] = 'This is the homepage';
22+
23+
$this->response->setOutput($this->load->view('common/home', $data));
24+
}
25+
26+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testing Home Page: {{ testing }}

0 commit comments

Comments
 (0)