File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 1+ Testing Home Page: {{ testing }}
You can’t perform that action at this time.
0 commit comments