9yN75.png
Resource icon

Managing a development area

XenForo Rocks

Team Member
Administrator
Moderator
+Lifetime VIP+
Contributor
ViP
True Member
+Member+
Registered
#1
XenForo Rocks submitted a new resource:

Managing a development area - Managing a development area

This is a little something I came up with to deal with having somewhere to develop mods and somewhere to test things like install code. It also deals with the password protected requirement for development areas in one nice little package.

Edit config.php, at the bottom of the file above the ?> add:
Code:
if (!isset($_SERVER['PHP_AUTH_USER'])) 
{
    header('WWW-Authenticate: Basic realm="Vbulletin Development site"');
    header('HTTP/1.0 401 Unauthorized');
    echo 'You must login to...
Read more about this resource...
 

Similar threads

Similar threads

Top