mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update Clublog.php
This commit is contained in:
@@ -47,12 +47,12 @@ class Clublog extends CI_Controller {
|
||||
|
||||
$ranid = uniqid();
|
||||
|
||||
if ( ! write_file('uploads/clublog'.$ranid.'.adi', $string)) {
|
||||
if ( ! write_file('uploads/clublog'.$ranid.$station_row->station_id.'.adi', $string)) {
|
||||
echo 'Unable to write the file - Make the folder Upload folder has write permissions.';
|
||||
}
|
||||
else {
|
||||
|
||||
$file_info = get_file_info('uploads/clublog'.$ranid.'.adi');
|
||||
$file_info = get_file_info('uploads/clublog'.$ranid.$station_row->station_id.'.adi');
|
||||
|
||||
// initialise the curl request
|
||||
$request = curl_init('https://clublog.org/putlogs.php');
|
||||
|
||||
Reference in New Issue
Block a user