Fork me on GitHub
Current releases are 2.1 (gold) and 2.0.18.11 (security patch for 2.0)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates 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.