-
-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from amnuts/103-doc-links
Fixes #103
- Loading branch information
Showing
7 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* OPcache GUI - build script | ||
* | ||
* @author Andrew Collington, [email protected] | ||
* @version 3.5.2 | ||
* @version 3.5.3 | ||
* @link https://github.com/amnuts/opcache-gui | ||
* @license MIT, https://acollington.mit-license.org/ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A simple but effective single-file GUI for the OPcache PHP extension. | ||
* | ||
* @author Andrew Collington, [email protected] | ||
* @version 3.5.2 | ||
* @version 3.5.3 | ||
* @link https://github.com/amnuts/opcache-gui | ||
* @license MIT, https://acollington.mit-license.org/ | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* A simple but effective single-file GUI for the OPcache PHP extension. | ||
* | ||
* @author Andrew Collington, [email protected] | ||
* @version 3.5.2 | ||
* @version 3.5.3 | ||
* @link https://github.com/amnuts/opcache-gui | ||
* @license MIT, https://acollington.mit-license.org/ | ||
*/ | ||
|
@@ -59,7 +59,7 @@ | |
|
||
class Service | ||
{ | ||
public const VERSION = '3.5.2'; | ||
public const VERSION = '3.5.3'; | ||
|
||
protected $tz; | ||
protected $data; | ||
|
@@ -936,12 +936,20 @@ className: "directive-list" | |
} | ||
} | ||
|
||
let directiveLink = name => { | ||
if (name === 'opcache.jit_max_recursive_returns') { | ||
return 'opcache.jit-max-recursive-return'; | ||
} | ||
|
||
return ['opcache.file_update_protection', 'opcache.huge_code_pages', 'opcache.lockfile_path', 'opcache.opt_debug_level'].includes(name) ? name : name.replace(/_/g, '-'); | ||
}; | ||
|
||
return /*#__PURE__*/React.createElement("tr", { | ||
key: directive.k | ||
}, /*#__PURE__*/React.createElement("td", { | ||
title: props.txt('View {0} manual entry', directive.k) | ||
}, /*#__PURE__*/React.createElement("a", { | ||
href: 'https://php.net/manual/en/opcache.configuration.php#ini.' + directive.k.replace(/_/g, '-'), | ||
href: 'https://php.net/manual/en/opcache.configuration.php#ini.' + directiveLink(directive.k), | ||
target: "_blank" | ||
}, dShow)), /*#__PURE__*/React.createElement("td", null, vShow)); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters