Yesterday, 11:47 AM
(This post was last modified: Yesterday, 11:48 AM by Tim Curtis.)
Sure, give this a try.
If you like you can save a copy of the file in your home directory before editing it, just in case.
Code:
1. Edit the file: /var/www/inc/common.php
sudo nano /var/www/inc/common.php
2. Scroll down to: function getUserID()
3. Change the grep command:
From: grep pi
To: grep "pi:"
4. Save the file
Ctrl-x
y
Return
5. Reboot
If you like you can save a copy of the file in your home directory before editing it, just in case.
Code:
sudo cp /var/www/inc/common.php ~/