Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5b7e8f2c78
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (7 sloc) 0.228 kb
1 2 3 4 5 6 7 8 9 10 11
<?php
$path = @$_SERVER['argv'][1];
if(!file_exists($path)) die("File not found");

$rows = file($path);
array_shift($rows);

$data = file_get_contents('./licence-small') . implode("", $rows);

file_put_contents($path, $data);

Something went wrong with that request. Please try again.