Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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

SS ✭✭
edited November 2011 in Vanilla 2.0 - 2.8
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.