forked from gamingdotme/opensource-casino-v10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog-Version.txt
27 lines (20 loc) · 1.07 KB
/
Changelog-Version.txt
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
v10.2 -- > 10.3
1: fixed Jackpot array
\casino\app\Games\AztecGoldMegawaysISB\Server.php
2: updated 242 game files SlotSettings [ replaced scandir with file list to use CDN in future release ]
lines 262 with
262: //$this->slotSounds = scandir($_SERVER['DOCUMENT_ROOT'] . '/games/' . $this->slotId . '/source/SOUND');
$txtFilePath = $_SERVER['DOCUMENT_ROOT'] . '/games/' . $this->slotId . '/source/SOUND/list.json';
// Check if the file exists
if (file_exists($txtFilePath)) {
// Read the file into an array, with each line of the file as an array element
$this->slotSounds = file($txtFilePath, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
} else {
// Handle the case where the list.txt does not exist for some reason
$this->slotSounds = []; // Assign an empty array or handle the error appropriately
}
//end slotsounds update
263 array_shift($this->slotSounds);
3: Added balance check in frontend before Play game
/casino/resources/views/frontend/Default/games/list.blade.php
Changed 0 balance to show Deposit funds before Play is enabled