You've already forked OpenShorte.old
							
							added session cookie lifetime, modified installer accordingly
This commit is contained in:
		| @@ -12,6 +12,7 @@ | ||||
|     } | ||||
|     require_once ( 'functions.php' ); | ||||
|     $config = load_config ( ); | ||||
|     session_set_cookie_params ( 43200, $config [ 'installation_path' ], $config [ 'domain' ], true ); | ||||
|     if ( isset ( $request_uri [ 0 ] ) && $request_uri [ 0 ] != "" ) { | ||||
|         switch ( $request_uri [ 0 ] ) { | ||||
|             case "go": | ||||
|   | ||||
| @@ -14,6 +14,7 @@ | ||||
|                 'name' => $_POST [ 'db_name' ], | ||||
|             ], | ||||
|             'installation_path' => substr ( $_SERVER [ 'SCRIPT_NAME' ], 0, -10 ), | ||||
|             'domain' => $_SERVER [ 'HTTP_HOST' ], | ||||
|         ]; | ||||
|         file_put_contents ( 'config.json', json_encode ( $config ) ); | ||||
|         try { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user