kopia lustrzana https://github.com/magicbug/Cloudlog
Update Clublog.php
rodzic
1834feaed8
commit
11458ceafb
|
@ -47,12 +47,12 @@ class Clublog extends CI_Controller {
|
||||||
|
|
||||||
$ranid = uniqid();
|
$ranid = uniqid();
|
||||||
|
|
||||||
if ( ! write_file('uploads/clublog'.$ranid.'-'.$station_row->station_id.'.adi', $string)) {
|
if ( ! write_file('uploads/clublog'.$ranid.'.adi', $string)) {
|
||||||
echo 'Unable to write the file - Make the folder Upload folder has write permissions.';
|
echo 'Unable to write the file - Make the folder Upload folder has write permissions.';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
$file_info = get_file_info('uploads/clublog'.'-'.$station_row->station_id.'.adi');
|
$file_info = get_file_info('uploads/clublog'.$ranid.'.adi');
|
||||||
|
|
||||||
// initialise the curl request
|
// initialise the curl request
|
||||||
$request = curl_init('https://clublog.org/putlogs.php');
|
$request = curl_init('https://clublog.org/putlogs.php');
|
||||||
|
|
Ładowanie…
Reference in New Issue