Beginner - Simple Module
Jamroom Developers
It seems had to remove both: @ sign, as well as the © - Now the error is gone.
Thanks...
-----
The sample code in this help article may need to be updated, for others to avoid this bug:
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/26/creating-a-module
-----
Simple Code Below Working Now:
-----
<?php
/**
* 2017 SoftDesigns
*/
//Ensure this module not called directly:
defined('APP_DIR') or exit();
/**
* meta
*/
function sdContestMWUser_meta(){
$_tmp = array(
'name' => 'ContestMWUser',
'url' => 'ContestMWUser',
'version' => '1.0.0',
'developer' => 'SoftDesigns',
'description' => 'Verify Contest User',
'category' => 'contest'
);
return $_tmp;
}
/**
* init
*/
function sdContestMWUser_init(){
$_args = array(
'sdKey1' => 'sdValue1',
'sdKey2' => 'sdValue2'
);
//jrCore_logger('sdContestMWUser',
//'This is the activity log message', $_array);
fdebug("sdContestMWUser_init", $_args);
return true;
}
updated by @softdesigns: 01/10/17 10:42:49AM