%PDF- %PDF-
Direktori : /www/varak.net/video.varak.net/app/engine/ |
Current File : //www/varak.net/video.varak.net/app/engine/Head.php |
<?php /** * Created by PhpStorm. * User: Turbo * Date: 15.12.2015 * Time: 17:23 */ namespace Engine; class Head { /** @var \Engine\Resources|null */ protected $resources = NULL; public function __construct() { require_once('Resources.php'); $this->resources = new Resources(); } public function render() { echo '<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../favicon.ico">'; $this->resources->renderResources(); echo '<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->'; echo '<!--[if lt IE 9]>'; echo '<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>'; echo '<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>'; echo '<![endif]-->'; } }