Fork me on GitHub

Howdy, Stranger!

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

Support for Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

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

Current releases are 2.1.3 (9 Sept 2014) and 2.0.18.13 (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated after Dec 2014.

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.