Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
ad8f2924
Commit
ad8f2924
authored
Aug 24, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: obsolete dir by moving file to pseudo-backend (2/2)
parent
e1ff81c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
+3
-7
stats.inc
src/etc/inc/stats.inc
+0
-4
getstats.php
src/www/getstats.php
+1
-1
stats.php
src/www/stats.php
+1
-1
system_information.widget.php
src/www/widgets/widgets/system_information.widget.php
+1
-1
No files found.
src/
www/includes/functions.inc.php
→
src/
etc/inc/stats.inc
View file @
ad8f2924
<?php
<?php
if
(
Connection_Aborted
())
{
exit
;
}
require_once
(
"config.inc"
);
require_once
(
"config.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
...
...
src/www/getstats.php
View file @
ad8f2924
...
@@ -35,6 +35,6 @@ header("Pragma: no-cache"); // HTTP/1.0
...
@@ -35,6 +35,6 @@ header("Pragma: no-cache"); // HTTP/1.0
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
include_once
(
"includes/functions.inc.php
"
);
require_once
(
"stats.inc
"
);
echo
get_stats
();
echo
get_stats
();
src/www/stats.php
View file @
ad8f2924
...
@@ -27,6 +27,6 @@
...
@@ -27,6 +27,6 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
require_once
(
"
includes/functions.inc.php
"
);
require_once
(
"
stats.inc
"
);
echo
cpu_usage
();
echo
cpu_usage
();
src/www/widgets/widgets/system_information.widget.php
View file @
ad8f2924
...
@@ -30,9 +30,9 @@
...
@@ -30,9 +30,9 @@
*/
*/
require_once
(
"guiconfig.inc"
);
require_once
(
"guiconfig.inc"
);
include_once
(
"includes/functions.inc.php"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"pfsense-utils.inc"
);
require_once
(
"system.inc"
);
require_once
(
"system.inc"
);
require_once
(
"stats.inc"
);
if
(
isset
(
$_REQUEST
[
'getupdatestatus'
]))
{
if
(
isset
(
$_REQUEST
[
'getupdatestatus'
]))
{
$pkg_json
=
trim
(
configd_run
(
'firmware pkgstatus'
));
$pkg_json
=
trim
(
configd_run
(
'firmware pkgstatus'
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment