Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

Can you move Gdn::Authenticator()->StartAuthenticator(); away from bootstrap.php to index?

SS ✭✭
edited November 2011 in Vanilla 2.0 Help
L ~ 186 /bootstrap: Gdn::Authenticator()->StartAuthenticator();
Problem:
\plugins\Debugger\class.database.debug.php:86] Gdn_Database->Query();
\library\database\class.sqldriver.php:1584] Gdn_DatabaseDebug->Query();
\library\database\class.sqldriver.php:639] Gdn_SQLDriver->Query();
\applications\dashboard\models\class.usermodel.php:294] Gdn_SQLDriver->Get();
\library\core\class.session.php:255] UserModel->GetSession();
\library\core\class.auth.php:27] Gdn_Session->Start();
\bootstrap.php:186] Gdn_Auth->StartAuthenticator();
Connection to database! I just want include bootstrap.php (for my scripts) no need connection and authentication. Can you move this to index.php?:
// 2. Include the header.
require_once(PATH_ROOT.DS.'bootstrap.php');

// 3. Authentication
Gdn::Authenticator()->StartAuthenticator();

Comments

Sign In or Register to comment.