generate_logo.php 362 B

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