Fork me on GitHub
Current Releases are 2.1 stable (major release) and 2.0.18.11 (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

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

SS
edited November 2011 in Questions
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.