Custom HTML headers

This example demonstrate output of custom HTML headers using file (headers.inc) located in current directory. It also demonstate that scanning for this file can be toggled at runtime by using '$this->config->headers = true'

Looking at the generated HTML should show <meta name="..." content="..."> and http-equiv tags rendered from header data.


UUP\Site\Page\Context\Headers Object
(
    [storage:ArrayObject:private] => Array
        (
            [meta] => Array
                (
                    [0] => Array
                        (
                            [name] => description
                            [content] => Site and application template system
                        )

                    [1] => Array
                        (
                            [name] => author
                            [content] => Anders Lövgren
                        )

                    [2] => Array
                        (
                            [name] => keywords
                            [content] => php,template,router
                        )

                    [3] => Array
                        (
                            [http-equiv] => Content-Type
                            [content] => text/html;charset=utf-8
                        )

                )

        )

)