Shell for CLI resource [Deleted]

Rigel Kentaurus

Well-known member
Rigel Kentaurus submitted a new resource:

Shell for CLI resource (version 1.0.0) - Shell for CLI resource

Do you want to just run a PHP file, but you need access to all the XenForo classes? Then you need to at least do the auto loading of PHP files, and a bit of other initialization


// might want to disable limits, won't work in safe mode

// Just check that we are in the root directory
if (!is_file('./library/config.php'))
    print 'We do not appear to be running from the correct directory, needs to be XF root and is: ' . getcwd() . "\r\n";;
Read more about this resource...