1. 凯时官网手机版首页

      session_start(): Cannot send session cookie - headers already sent by (output started at /www/wwwroot/xrd.zhimaweb.cn/caches/classmap.php:200)

      1. // 读取session驱动
      2. $class = false !== strpos($config['type'], '\\') ? $config['type'] : '\\think\\session\\driver\\' . ucwords($config['type']);
      3. // 检查驱动类
      4. if (!class_exists($class) || !session_set_save_handler(new $class($config))) {
      5. throw new ClassNotFoundException('error session handler:' . $class, $class);
      6. }
      7. }
      8. if ($isDoStart) {
      9. session_start();
      10. self::$init = true;
      11. } else {
      12. self::$init = false;
      13. }
      14. }
      15. /**
      16. * session自动启动或者初始化
      17. * @return void

      Exception Datas

      Error Context
      config { "id": "", "var_session_id": "", "prefix": "think", "type": "", "auto_start": true }
      isDoStart true