development mode warning added

This commit is contained in:
Milos Stojanovic
2022-05-25 11:38:34 +02:00
parent 8a66af3e2e
commit 3d008e4e7f

View File

@@ -31,7 +31,7 @@ class Vuejs implements Service, ViewInterface
public function getIndexPage() public function getIndexPage()
{ {
$title = $this->config->get('frontend_config.app_name'); $title = APP_ENV == 'development' ? 'Development mode' : $this->config->get('frontend_config.app_name');
$public_path = $this->config->get('public_path'); $public_path = $this->config->get('public_path');
$public_dir = $this->config->get('public_dir'); $public_dir = $this->config->get('public_dir');