Chrome browser availability check for RHEL/CentOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Adding the following code, we can check Chrome browser installation on Red Hat Enterprise Linux (RHEL) and CentOS environment (Related to Bug #1871515).
File to modify:
export/pdf/lib.php
Line:
133
[Before]
/**
* Dumps all views into the HTML export
*/
private function pdf_view_
global $pdfrun;
static $browser;
static $page;
$i = 0;
$viewcount = count($
if (!isset($pdfrun) || $pdfrun == 'first' || $pdfrun == 'all') {
if ($error) {
if ($error2) {
}
}
[After]
/**
* Dumps all views into the HTML export
*/
private function pdf_view_
global $pdfrun;
static $browser;
static $page;
$i = 0;
$viewcount = count($
if (system('command -v dpgk')) {
} else {
}
if (!isset($pdfrun) || $pdfrun == 'first' || $pdfrun == 'all') {
if ($error) {
if ($error2) {
}
}
Changed in mahara: | |
status: | New → In Progress |
Changed in mahara: | |
milestone: | 20.04rc1 → 20.04.0 |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/10872