In the install description you write:
When the plugin first loads it will add the currently logged in user name to the 'admin' array.(This is why we refresh in the pages tab).
This will never happen and this code isn't executed:
Do you know why? - Because the $admin array isn't empty, you have forgotten to remove 'cobber' in the groups.php ;-)
That is why I believe, that nobody had ever succeeded to run your plugin properly and you can remove the five-star ratings which you have given yourself before with a clear conscience lol
When the plugin first loads it will add the currently logged in user name to the 'admin' array.(This is why we refresh in the pages tab).
This will never happen and this code isn't executed:
PHP Code:
//initialise admin array on installation
if(empty($admin)){
$adminInit = file_get_contents($PA_folder."groups.php");
$adminInitUD = str_replace("\$admin = array()","\$admin = array('".$PA_current_user."')",$adminInit);
file_put_contents($PA_folder."groups.php",$adminInitUD);
}
Do you know why? - Because the $admin array isn't empty, you have forgotten to remove 'cobber' in the groups.php ;-)
That is why I believe, that nobody had ever succeeded to run your plugin properly and you can remove the five-star ratings which you have given yourself before with a clear conscience lol