2020-01-13, 22:30:48
PHP Code:
<?php
$plugin_id = 'preloaders';
// Set up the folder name and its permissions
// Note the constant GSDATAOTHERPATH, which points to /path/to/getsimple/data/other/
$folder = GSDATAOTHERPATH . '/' . $plugin_id . '/';
$preloadernumber = $folder . 'preloadernumber.txt';
$jqueryon = $folder . 'jqueryon.txt';
;
global $SITEURL;
$site = $SITEURL;
echo'
<div id="preload">
<img src="'.$site.'/plugins/preloaders/img/'.file_get_contents($preloadernumber ).'.svg">
</div>
'
;
Hi again,
I changed preloaderstart.php like this. But I'm not a fiery dev... I juste added global variable SITEURL (found on forum).