Compare commits
No commits in common. "master" and "1.1.2" have entirely different histories.
4 changed files with 2 additions and 26 deletions
|
@ -5,15 +5,6 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [1.1.3] - 2024-10-29
|
|
||||||
|
|
||||||
This update introduces a critical bug fix
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
- Fixed issue where if global $argv is not available, a check to see if `$_SERVER['argv']` is set
|
|
||||||
before accessing it due to a potential 'undefined' error.
|
|
||||||
|
|
||||||
|
|
||||||
## [1.1.2] - 2024-10-13
|
## [1.1.2] - 2024-10-13
|
||||||
|
|
||||||
Updated Build System
|
Updated Build System
|
||||||
|
|
15
README.md
15
README.md
|
@ -2,25 +2,10 @@
|
||||||
|
|
||||||
A basic Options parser and command-line arguments handling a library for PHP.
|
A basic Options parser and command-line arguments handling a library for PHP.
|
||||||
|
|
||||||
## Community
|
|
||||||
|
|
||||||
This project and many others from Nosial are available on multiple publicly available and free git repositories at
|
|
||||||
|
|
||||||
- [n64](https://git.n64.cc/nosial/optslib)
|
|
||||||
- [GitHub](https://github.com/nosial/optslib)
|
|
||||||
- [Codeberg](https://codeberg.org/nosial/optslib)
|
|
||||||
|
|
||||||
Issues & Pull Requests are frequently checked and to be referenced accordingly in commits and changes, Nosial remains
|
|
||||||
dedicated to keep these repositories up to date when possible.
|
|
||||||
|
|
||||||
For questions & discussions see the public Telegram community at [@NosialDiscussions](https://t.me/NosialDiscussions).
|
|
||||||
We do encourage community support and discussions, please be respectful and follow the rules of the community.
|
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
<!-- TOC -->
|
<!-- TOC -->
|
||||||
* [OptsLib](#optslib)
|
* [OptsLib](#optslib)
|
||||||
* [Community](#community)
|
|
||||||
* [Table of Contents](#table-of-contents)
|
* [Table of Contents](#table-of-contents)
|
||||||
* [Installation](#installation)
|
* [Installation](#installation)
|
||||||
* [Compiling from source](#compiling-from-source)
|
* [Compiling from source](#compiling-from-source)
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"package": "net.nosial.optslib",
|
"package": "net.nosial.optslib",
|
||||||
"description": "A simple options parser library for PHP",
|
"description": "A simple options parser library for PHP",
|
||||||
"copyright": "Copyright (c) 2022-2023 Nosial",
|
"copyright": "Copyright (c) 2022-2023 Nosial",
|
||||||
"version": "1.1.3",
|
"version": "1.1.2",
|
||||||
"uuid": "20aefdfa-7b91-11ed-919f-cb63712c8e36"
|
"uuid": "20aefdfa-7b91-11ed-919f-cb63712c8e36"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
{
|
{
|
||||||
global $argv;
|
global $argv;
|
||||||
|
|
||||||
if($argv === null && isset($_SERVER['argv']))
|
if($argv === null)
|
||||||
{
|
{
|
||||||
$argv = $_SERVER['argv'];
|
$argv = $_SERVER['argv'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue