In the vb distribution in the "do not upload" folder there's a file called tools.php. Upload that to your admincp folder, then go to admincp/tools.php. There's an option to restore admin permission to a user. Remember to remove tools.php when you're done.
If you did this by accident you might want to add your userid to $config['SpecialUsers']['undeletableusers'] in your includes/config.php file so it won't happen again.
|