FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing-docs/generate/libraries_log_delete.php at macos · processing/processing-docs · GitHub
processing
processing-docs
Repository navigation
Code
Issues
3
(3)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
processing-docs
/
generate
/
libraries_log_delete.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
33 lines (17 loc) · 497 Bytes
Breadcrumbs
processing-docs
/
generate
/
libraries_log_delete.php
Copy path
File metadata and controls
executable file
·
33 lines (17 loc) · 497 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
require_once
(
'
../config.php
'
);
//Start time
$
benchmark_start
=
microtime_float
();
//Base path
$
path
=
BASEDIR
;
//Path where build.log lives
$
path
=
$
path
.
'
contrib_generate
'
;
//Go to there and delete it
`
cd
$
path
&& rm build.log
`;
//Timers
$
benchmark_end
=
microtime_float
();
$
execution_time
=
round
(
$
benchmark_end
-
$
benchmark_start
,
4
);
?>
<h2>Log Deletion Successful</h2>
<p>
<?=
$
path
.
'
/build.log
'
?>
no longer exists.</p>
<p>Complete in
<?=
$
execution_time
?>
seconds.</p>
Back
|
FazBrowse Home
|
New Git URL