Location: PHPKode > scripts > WebNight Commander > webnight-commander-v2/source/includes/20_init.php
<?php

//ini_set("display_errors", 1);
//ini_set("error_reporting", E_ALL);

if (!isset($config['session_lifetime'])) $config['session_lifetime'] = ini_get('session.gc_maxlifetime');
if (!isset($config['session_dir'])) $config['session_dir'] = ini_get('session.save_path');
list($w, $h) = explode("x", $config['font_resolution']);

header("Content-Type: text/html; charset={$config['charset']}");
$session = new session($config['session_var'], $config['session_lifetime'], "stamp", $config['session_dir']);
$controller = new controller();
$controller->action();

?>
Return current item: WebNight Commander