Add session cookie httponly and set it to true.

This commit is contained in:
markjcrane
2015-12-21 20:52:54 -07:00
parent e2feca300a
commit 5da1286329
10 changed files with 14 additions and 5 deletions

View File

@@ -156,13 +156,13 @@
//$this->write_debug($cmd);
exec ($cmd);
}
}elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){
} elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
function recursive_copy($src, $dst, $options = '') {
$src = normalize_path_to_os($src);
$dst = normalize_path_to_os($dst);
exec("xcopy /E /Y \"$src\" \"$dst\"");
}
}else{
} else {
function recursive_copy($src, $dst, $options = '') {
$dir = opendir($src);
if (!$dir) {