Skip to content

Commit 2e26007

Browse files
"Because I clearly have nothing better to do with my time, I've added more hardcoded language settings. Because PHPStorm linking now works. Again."
1 parent c1c7525 commit 2e26007

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

public_html/shared/controller/system/language.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Language extends Controller
2727
*/
2828
public function index (): void
2929
{
30-
// Hardcoded langauge at the moment
30+
// Hardcoded language at the moment
3131

3232
$this->config->set('config_language', "en-gb");
3333
$this->load->language('default');
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
*/
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+

public_html/system/engine/controller.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
/**
1818
* Added properties for compatibility with PHPStorm linking
1919
*
20-
* @property Url $url
20+
* @property Url $url ;
21+
* @property Loader $load ;
22+
* @property Config $config;
23+
*
2124
*
2225
*/
2326
class Controller

0 commit comments

Comments
 (0)