diff --git a/controller/Controller.class.php b/controller/Controller.class.php index 7e9ce4e0..c6c8f3f6 100644 --- a/controller/Controller.class.php +++ b/controller/Controller.class.php @@ -139,7 +139,7 @@ class Controller unset($headers[static::HEADER_STATUS]); } } - + foreach($headers as $name => $value) { header($name . ': ' . $value); diff --git a/controller/action/ContentActions.class.php b/controller/action/ContentActions.class.php index 4a9892ff..19c06414 100644 --- a/controller/action/ContentActions.class.php +++ b/controller/action/ContentActions.class.php @@ -75,9 +75,20 @@ class ContentActions extends Actions $zip = new ZipArchive(); $zip->open($zipPath, ZipArchive::OVERWRITE); - //file_get_contents fails on servers without proper SSL, so use live site always for now - $html = file_get_contents('https://lbry.io/press-kit'); -// $html = file_get_contents('https://' . $_SERVER['HTTP_HOST'] . '/press-kit')); + $pageHtml = View::render('page/press-kit', ['showHeader' => false]); + $html = << + + + LBRY Press Kit + + + + + $pageHtml + + +EOD; $zip->addFromString('press.html', $html); diff --git a/view/template/page/press-kit.php b/view/template/page/press-kit.php index effb110e..89e1f824 100644 --- a/view/template/page/press-kit.php +++ b/view/template/page/press-kit.php @@ -1,6 +1,8 @@ - - - false]) ?> + + + + false]) ?> +

LBRY Press Kit

diff --git a/web/scss/_icons.scss b/web/scss/_icons.scss index 8f142cc8..ea68748f 100644 --- a/web/scss/_icons.scss +++ b/web/scss/_icons.scss @@ -33,7 +33,7 @@ .icon-mega { font-size: 200px; - line-height: 1; + line-height: 1; } /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen