include.php 482 B

12345678910111213141516
  1. <?php
  2. if(!is_writable(session_save_path())){
  3. retj(Array(
  4. 'error'=>'Session save path ('.session_save_path().') is not writable.'
  5. ),'error');
  6. }
  7. @session_start();
  8. require_once(realpath(dirname(__FILE__)).'/config.php');
  9. require_once(PATH_PHP.'database.php');
  10. require_once(PATH_PHP.'functions.php');
  11. require_once(PATH_PHP.'security.php');
  12. require_once(PATH_PHP.'captcha.php');
  13. require_once(PATH_PHP.'user.php');
  14. require_once(PATH_PHP.'emails.php');
  15. authenticate();
  16. ?>