Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
boost
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
boost
Commits
44f801d4
Commit
44f801d4
authored
14 years ago
by
Mike Carper
Browse files
Options
Downloads
Patches
Plain Diff
#325813
: clean up some left over debug code.
parent
e01a0dfd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
boost.admin.htaccess.inc
+1
-14
1 addition, 14 deletions
boost.admin.htaccess.inc
with
1 addition
and
14 deletions
boost.admin.htaccess.inc
+
1
−
14
View file @
44f801d4
...
...
@@ -126,24 +126,11 @@ function boost_admin_htaccess_settings() {
'#default_value'
=>
variable_get
(
'boost_ssl_bypass'
,
BOOST_SSL_BYPASS
),
'#description'
=>
t
(
'Ticking this is recommended if you use the securepages module.'
),
);
$enabled_file_extensions
=
array
();
$types
=
boost_get_storage_types
();
foreach
(
$types
as
$title
=>
$content_types
)
{
foreach
(
$content_types
as
$type
=>
$values
)
{
if
(
$values
[
'enabled'
])
{
$enabled_file_extensions
[
$values
[
'extension'
]][
'gzip'
]
=
$values
[
'gzip'
];
if
(
empty
(
$enabled_file_extensions
[
$values
[
'extension'
]][
'content_type'
]))
{
$enabled_file_extensions
[
$values
[
'extension'
]][
'content_type'
]
=
$type
;
}
}
}
}
$form
[
'htaccess'
][
'boost_force_utf8'
]
=
array
(
'#type'
=>
'checkbox'
,
'#title'
=>
t
(
'Add "AddDefaultCharset utf-8" to the htaccess rules'
),
'#default_value'
=>
variable_get
(
'boost_force_utf8'
,
BOOST_FORCE_UTF8
),
'#description'
=>
t
(
'Depending on your i18n settings you might want this disabled or enabled.'
)
.
boost_print_r
(
$enabled_file_extensions
)
,
'#description'
=>
t
(
'Depending on your i18n settings you might want this disabled or enabled.'
),
);
// $form['htaccess']['boost_ignore_htaccess_warning'] = array(
// '#type' => 'checkbox',
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment