Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F13502951
CloneLog.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Authored By
Unknown
Size
545 B
Referenced Files
None
Subscribers
None
CloneLog.php
View Options
<?php
class
CloneLog
{
public
$file
;
function
__construct
(
)
{
global
$global
;
$clonesDir
=
"{$global['systemRootPath']}videos/cache/clones/"
;
$this
->
file
=
"{$clonesDir}client.log"
;
if
(
!
file_exists
(
$clonesDir
)
)
{
mkdir
(
$clonesDir
,
0777
,
true
)
;
file_put_contents
(
$clonesDir
.
"index.html"
,
''
)
;
}
file_put_contents
(
$this
->
file
,
""
)
;
}
function
add
(
$message
)
{
file_put_contents
(
$this
->
file
,
$message
.
PHP_EOL
,
FILE_APPEND
|
LOCK_EX
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jun 24, 21:29 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1971722
Default Alt Text
CloneLog.php (545 B)
Attached To
Mode
R58 TurboFlop
Attached
Detach File
Event Timeline