This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnkohana/system/views/kohana/generate_logo.php

14 lines
395 B
PHP
Raw Normal View History

2013-04-22 04:09:50 +00:00
<?php
// Get the latest logo contents
$data = base64_encode(file_get_contents('http://kohanaframework.org/media/img/kohana.png'));
// Create the logo file
file_put_contents('logo.php', "<?php
/**
* Kohana Logo, base64_encoded PNG
*
* @copyright (c) 2008-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
return array('mime' => 'image/png', 'data' => '{$data}'); ?>");