diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2019-11-06 11:36:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 11:36:17 +0100 |
commit | 1add9049bedd3ac381e42ea5c177c5e0b871a50a (patch) | |
tree | 0416e194fcbb20ecb4f47d8783c8ad4bd38105e7 /app/view/templates/layout.php | |
parent | f1f63f556c41c99d45cd610186b0982383eff375 (diff) | |
parent | c77fe80b05829fbfd5b94f43a7b709e3f3ec6c0d (diff) | |
download | wcms-1add9049bedd3ac381e42ea5c177c5e0b871a50a.tar.gz wcms-1add9049bedd3ac381e42ea5c177c5e0b871a50a.zip |
Merge pull request #27 from n-peugnet/composer-psr4-autoloading
refactor: switch to psr-4 autoloading
Diffstat (limited to 'app/view/templates/layout.php')
-rw-r--r-- | app/view/templates/layout.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/view/templates/layout.php b/app/view/templates/layout.php index 91ae378..85351d6 100644 --- a/app/view/templates/layout.php +++ b/app/view/templates/layout.php @@ -7,15 +7,15 @@ <meta name="viewport" content="width=device-width" /> <?php if (!empty($favicon)) { ?> - <link rel="shortcut icon" href="<?= Model::faviconpath() . $favicon ?>" type="image/x-icon"> - <?php } elseif (!empty(Config::defaultfavicon())) { ?> - <link rel="shortcut icon" href="<?= Model::faviconpath() . Config::defaultfavicon() ?>" type="image/x-icon"> + <link rel="shortcut icon" href="<?= Wcms\Model::faviconpath() . $favicon ?>" type="image/x-icon"> + <?php } elseif (!empty(Wcms\Config::defaultfavicon())) { ?> + <link rel="shortcut icon" href="<?= Wcms\Model::faviconpath() . Wcms\Config::defaultfavicon() ?>" type="image/x-icon"> <?php } ?> <title><?= $title ?></title> <link rel="stylesheet" href="<?= $css ?>"> <?php - if (!empty(Config::interfacecss())) { - echo '<link rel="stylesheet" href="' . Model::csspath() . Config::interfacecss() . '">'; + if (!empty(Wcms\Config::interfacecss())) { + echo '<link rel="stylesheet" href="' . Wcms\Model::csspath() . Wcms\Config::interfacecss() . '">'; } ?> </head> |