-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathupdateData.php
More file actions
35 lines (26 loc) · 732 Bytes
/
updateData.php
File metadata and controls
35 lines (26 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
$base = dirname(__FILE__) . '/';
echo "Updating Sponsors" . PHP_EOL;
$data = file_get_contents(
'https://raw.githubusercontent.com/phalcon/assets/master/phalcon/sponsors-fragment.html'
);
file_put_contents(
$base . '_includes/sponsors.html',
$data
);
echo "Updating Fan Art" . PHP_EOL;
$data = file_get_contents(
'https://raw.githubusercontent.com/phalcon/assets/master/phalcon/fanart-fragment.html'
);
file_put_contents(
$base . '_includes/fanart.html',
$data
);
echo "Updating Footer" . PHP_EOL;
$data = file_get_contents(
'https://raw.githubusercontent.com/phalcon/assets/master/phalcon/footer-fragment.html'
);
file_put_contents(
$base . '_includes/footer.html',
$data
);