@@ -32,8 +32,8 @@ |
||
| 32 | 32 | <p>Required PHP version : <b>PHP >= <?php echo TNH_MIN_PHP_VERSION; ?>, PHP < <?php echo TNH_MAX_PHP_VERSION; ?></b></p> |
| 33 | 33 | <p>Release date : <b><?php echo TNH_RELEASE_DATE; ?></b></p> |
| 34 | 34 | <hr /> |
| 35 | - <p>Current controller: <b class = "text-muted label-danger"><?php echo APPS_CONTROLLER_PATH . 'Home.php';?></b> |
|
| 36 | - <p>Current view: <b class = "text-muted label-danger"><?php echo APPS_VIEWS_PATH . 'home.php';?></b> |
|
| 35 | + <p>Current controller: <b class = "text-muted label-danger"><?php echo APPS_CONTROLLER_PATH . 'Home.php'; ?></b> |
|
| 36 | + <p>Current view: <b class = "text-muted label-danger"><?php echo APPS_VIEWS_PATH . 'home.php'; ?></b> |
|
| 37 | 37 | </div> |
| 38 | 38 | </div> |
| 39 | 39 | </div> |
@@ -44,9 +44,9 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | class Assets extends BaseClass { |
| 46 | 46 | |
| 47 | - /** |
|
| 48 | - * Construct new instance |
|
| 49 | - */ |
|
| 47 | + /** |
|
| 48 | + * Construct new instance |
|
| 49 | + */ |
|
| 50 | 50 | public function __construct() { |
| 51 | 51 | parent::__construct(); |
| 52 | 52 | } |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * SOFTWARE. |
| 29 | 29 | */ |
| 30 | 30 | |
| 31 | - class Url extends BaseClass{ |
|
| 31 | + class Url extends BaseClass { |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * Construct new instance |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * @return string the final path after add suffix if configured |
| 152 | 152 | * otherwise the same value will be returned |
| 153 | 153 | */ |
| 154 | - protected function addSuffixInPath($path){ |
|
| 154 | + protected function addSuffixInPath($path) { |
|
| 155 | 155 | $suffix = get_config('url_suffix'); |
| 156 | 156 | if ($suffix && $path) { |
| 157 | 157 | if (strpos($path, '?') !== false) { |