Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
docker
osticket
Commits
b7eb9ebd
Commit
b7eb9ebd
authored
11 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
html: PHP DomDocument classes are in the `dom` ext
parent
466aea5a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/class.format.php
+1
-1
1 addition, 1 deletion
include/class.format.php
include/staff/system.inc.php
+5
-1
5 additions, 1 deletion
include/staff/system.inc.php
setup/inc/install-prereq.inc.php
+2
-1
2 additions, 1 deletion
setup/inc/install-prereq.inc.php
with
8 additions
and
3 deletions
include/class.format.php
+
1
−
1
View file @
b7eb9ebd
...
...
@@ -149,7 +149,7 @@ class Format {
# See if advanced html2text is available (requires xml extension)
if
(
function_exists
(
'convert_html_to_text'
)
&&
extension_loaded
(
'
xml
'
))
&&
extension_loaded
(
'
dom
'
))
return
convert_html_to_text
(
$html
,
$width
);
# Try simple html2text - insert line breaks after new line tags.
...
...
This diff is collapsed.
Click to expand it.
include/staff/system.inc.php
+
5
−
1
View file @
b7eb9ebd
...
...
@@ -31,7 +31,11 @@ if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin()) die('Access
<tr><td><i
class=
"icon icon-
<?php
echo
extension_loaded
(
'xml'
)
?
'check'
:
'warning-sign'
;
?>
"
></i></td>
<td>
xml
</td>
<td>
Used for HTML email processing and XML API
</td></tr>
<td>
XML API
</td></tr>
<tr><td><i
class=
"icon icon-
<?php
echo
extension_loaded
(
'dom'
)
?
'check'
:
'warning-sign'
;
?>
"
></i></td>
<td>
xml-dom
</td>
<td>
Used for HTML email processing
</td></tr>
<tr><td><i
class=
"icon icon-
<?php
echo
extension_loaded
(
'json'
)
?
'check'
:
'warning-sign'
;
?>
"
></i></td>
<td>
json
</td>
...
...
This diff is collapsed.
Click to expand it.
setup/inc/install-prereq.inc.php
+
2
−
1
View file @
b7eb9ebd
...
...
@@ -24,7 +24,8 @@ if(!defined('SETUPINC')) die('Kwaheri!');
<ul
class=
"progress"
>
<li
class=
"
<?php
echo
extension_loaded
(
'gd'
)
?
'yes'
:
'no'
;
?>
"
>
Gdlib extension
</li>
<li
class=
"
<?php
echo
extension_loaded
(
'imap'
)
?
'yes'
:
'no'
;
?>
"
>
PHP IMAP extension.
<em>
Required for mail fetching
</em></li>
<li
class=
"
<?php
echo
extension_loaded
(
'xml'
)
?
'yes'
:
'no'
;
?>
"
>
PHP XML extension (for HTML email processing, and XML API)
</li>
<li
class=
"
<?php
echo
extension_loaded
(
'xml'
)
?
'yes'
:
'no'
;
?>
"
>
PHP XML extension (for XML API)
</li>
<li
class=
"
<?php
echo
extension_loaded
(
'dom'
)
?
'yes'
:
'no'
;
?>
"
>
PHP XML-DOM extension (for HTML email processing)
</li>
<li
class=
"
<?php
echo
extension_loaded
(
'json'
)
?
'yes'
:
'no'
;
?>
"
>
PHP JSON extension (faster performance)
</li>
<li
class=
"
<?php
echo
extension_loaded
(
'gettext'
)
?
'yes'
:
'no'
;
?>
"
>
Gettext is used for translations (faster performance)
</li>
<li
class=
"
<?php
echo
extension_loaded
(
'mbstring'
)
?
'yes'
:
'no'
;
?>
"
>
Mbstring is
<b>
strongly
</b>
recommended for all installations
</li>
...
...
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