Code Duplication    Length = 7-7 lines in 2 locations

lib/includes/loader.soap.php 1 location

@@ 190-196 (lines=7) @@
187
		ldSetRoot($session, $nls);
188
	}
189
190
	function ldStartSession($sessionid='') {
191
	global $ARCurrent, $AR, $ariadne;
192
193
		require($ariadne."/configs/sessions.phtml");
194
		$ARCurrent->session=new session($session_config,$sessionid);
195
		ldSetSession($ARCurrent->session->id);
196
	}
197
198
	function ldSetCache($file, $time, $image, $headers) {
199
	global $store;

lib/includes/loader.web.php 1 location

@@ 295-301 (lines=7) @@
292
		ldSetRoot($session, $nls);
293
	}
294
295
	function ldStartSession($sessionid='') {
296
	global $ARCurrent, $AR, $ariadne;
297
298
		require($ariadne."/configs/sessions.phtml");
299
		$ARCurrent->session=new session($session_config,$sessionid);
300
		ldSetSession($ARCurrent->session->id);
301
	}
302
303
	function ldGetCookieSession() {
304
		return $_COOKIE['ARCurrentSession'];