generate_logo.php 380 B

1234567891011121314
  1. <?php
  2. // Get the latest logo contents
  3. $data = base64_encode(file_get_contents('http://kohanaframework.org/media/img/kohana.png'));
  4. // Create the logo file
  5. file_put_contents('logo.php', "<?php
  6. /**
  7. * Kohana Logo, base64_encoded PNG
  8. *
  9. * @copyright (c) Kohana Team
  10. * @license https://koseven.ga/LICENSE.md
  11. */
  12. return array('mime' => 'image/png', 'data' => '{$data}'); ?>");