mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-11 02:06:14 +00:00
first commit
This commit is contained in:
13
src/donate.php
Normal file
13
src/donate.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$totalDonate = trim(file_get_contents($g_config['donateTotal']));
|
||||
|
||||
$lines = file($g_config['donateTransactions']);
|
||||
$donates = 0;
|
||||
$lastDonate = 0;
|
||||
|
||||
foreach ($lines as $line)
|
||||
{
|
||||
$donates = $donates + $line;
|
||||
$lastDonate = $line;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user