Skip to content

Instantly share code, notes, and snippets.

@samsonasik
Last active December 14, 2015 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samsonasik/5055060 to your computer and use it in GitHub Desktop.
Save samsonasik/5055060 to your computer and use it in GitHub Desktop.
session_start() conflict for ZF2 and your other App with session_start()
<?php
chdir('/Users/abdulmalikikhsan/www/YOURZF2APP');
require 'init_autoloader.php';
Zend\Mvc\Application::init(require 'config/application.config.php');
chdir(__DIR__);
session_start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment