Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
advanced_help
Commits
50986e7c
Commit
50986e7c
authored
Oct 04, 2018
by
gisle
Browse files
Issue
#3004442
by gisle: Remove help_path
parent
10072ea1
Changes
1
Hide whitespace changes
Inline
Side-by-side
advanced_help.module
View file @
50986e7c
...
...
@@ -835,7 +835,6 @@ function _advanced_help_parse_ini() {
if
(
!
isset
(
$ini
))
{
$ini
=
array
(
'topics'
=>
array
(),
'settings'
=>
array
());
$help_path
=
drupal_get_path
(
'module'
,
'advanced_help'
)
.
'/modules'
;
foreach
(
array_merge
(
module_list
(),
list_themes
())
as
$plugin
)
{
$module
=
is_string
(
$plugin
)
?
$plugin
:
$plugin
->
name
;
$module_path
=
drupal_get_path
(
is_string
(
$plugin
)
?
'module'
:
'theme'
,
$module
);
...
...
@@ -844,10 +843,6 @@ function _advanced_help_parse_ini() {
$path
=
"
$module_path
/help"
;
$info
=
parse_ini_file
(
"./
$module_path
/help/
$module
.help.ini"
,
TRUE
);
}
elseif
(
file_exists
(
"
$help_path
/
$module
/
$module
.help.ini"
))
{
$path
=
"
$help_path
/
$module
"
;
$info
=
parse_ini_file
(
"./
$help_path
/
$module
/
$module
.help.ini"
,
TRUE
);
}
elseif
(
!
file_exists
(
"
$module_path
/help"
))
{
// Look for one or more README files.
$files
=
file_scan_directory
(
"./
$module_path
"
,
...
...
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