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
809489f6
Commit
809489f6
authored
Apr 14, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iremove ARCH warning in config.inc
parent
d59b988e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
config.inc
src/etc/inc/config.inc
+3
-5
No files found.
src/etc/inc/config.inc
View file @
809489f6
...
...
@@ -31,14 +31,12 @@
// Set the memory limit to 128M on i386. When someone has something like 500+ tunnels
// the parser needs quite a bit of ram. Do not remove this line unless you
// know what you are doing. If in doubt, check with dev@ _/FIRST/_!
if
(
!
$ARCH
)
$ARCH
=
php_uname
(
"m"
);
// Set memory limit to 256M on amd64.
if
(
$ARCH
==
"amd64"
)
if
(
php_uname
(
"m"
)
==
"amd64"
)
{
ini_set
(
"memory_limit"
,
"256M"
);
else
}
else
{
ini_set
(
"memory_limit"
,
"128M"
);
}
/* include globals from notices.inc /utility/XML parser files */
require_once
(
"notices.inc"
);
...
...
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