* MA 02110-1301 USA *
************************************************************************/
-// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
+// Load security stuff here
require('inc/libs/security_functions.php');
// Init "action" and "what"
$msg = null;
// Load the required file(s)
-require('inc/config.php');
+require('inc/config-global.php');
// Is the script installed?
if (isInstalled()) {
// Only logged in users may use this surfbar!
- REDIRECT_ON_UNINSTALLED_EXTENSION('surfbar');
+ redirectOnUninstalledExtension('surfbar');
// No member?
if (!IS_MEMBER()) {
'restart' => getConfig('surfbar_restart_time'),
'start' => str_repeat('X', strlen(getConfig('surfbar_restart_time'))),
'autostart' => (getConfig('surfbar_autostart') == 'Y') ? 'true' : 'false'
- );
+ );
- // Load template for stopped surfbar
- LOAD_TEMPLATE('surfbar_stopped', false, $content);
+ // Load template for stopped surfbar
+ LOAD_TEMPLATE('surfbar_stopped', false, $content);
}
} elseif ((REQUEST_ISSET_GET(('check'))) && (REQUEST_ISSET_GET('id')) && (REQUEST_ISSET_GET(('salt')))) {
// Dummy next id get