diff --git a/README.md b/README.md index a02d00c3..3d37e9e5 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ Email: webmaster at shishnet.org -Issue/Bug tracker: http://github.com/shish/shimmie2/issues +Issue/Bug tracker: https://github.com/shish/shimmie2/issues # Licence -All code is released under the [GNU GPL Version 2](http://www.gnu.org/licenses/gpl-2.0.html) unless mentioned otherwise. +All code is released under the [GNU GPL Version 2](https://www.gnu.org/licenses/gpl-2.0.html) unless mentioned otherwise. If you give shimmie to someone else, you have to give them the source (which should be easy, as PHP is an interpreted language...). If you want to add diff --git a/core/extension.php b/core/extension.php index bfd9de59..e63fda12 100644 --- a/core/extension.php +++ b/core/extension.php @@ -7,7 +7,7 @@ * Also loads the theme object into $this->theme if available * * The original concept came from Artanis's Extension extension - * --> http://github.com/Artanis/simple-extension/tree/master + * --> https://github.com/Artanis/simple-extension/tree/master * Then re-implemented by Shish after he broke the forum and couldn't * find the thread where the original was posted >_< */ @@ -115,7 +115,7 @@ abstract class ExtensionInfo // Every credit you get costs us RAM. It stops now. public const SHISH_NAME = "Shish"; public const SHISH_EMAIL = "webmaster@shishnet.org"; - public const SHIMMIE_URL = "http://code.shishnet.org/shimmie2/"; + public const SHIMMIE_URL = "https://code.shishnet.org/shimmie2/"; public const SHISH_AUTHOR = [self::SHISH_NAME=>self::SHISH_EMAIL]; public const LICENSE_GPLV2 = "GPLv2"; diff --git a/core/install.php b/core/install.php index 5fe80f06..6b117698 100644 --- a/core/install.php +++ b/core/install.php @@ -5,8 +5,8 @@ * @package Shimmie * @copyright Copyright (c) 2007-2015, Shish et al. * @author Shish [webmaster at shishnet.org], jgen [jeffgenovy at gmail.com] - * @link http://code.shishnet.org/shimmie2/ - * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 + * @link https://code.shishnet.org/shimmie2/ + * @license https://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * * Initialise the database, check that folder * permissions are set properly. diff --git a/core/polyfills.php b/core/polyfills.php index 9c7b2edb..2102d7d0 100644 --- a/core/polyfills.php +++ b/core/polyfills.php @@ -27,7 +27,7 @@ function array_iunique(array $array): array /** * Figure out if an IP is in a specified range * - * from http://uk.php.net/network + * from https://uk.php.net/network */ function ip_in_range(string $IP, string $CIDR): bool { @@ -86,7 +86,7 @@ function deltree(string $f): void /** * Copy an entire file hierarchy * - * from a comment on http://uk.php.net/copy + * from a comment on https://uk.php.net/copy */ function full_copy(string $source, string $target): void { @@ -380,7 +380,7 @@ function zglob(string $pattern): array /** * Figure out the path to the shimmie install directory. * - * eg if shimmie is visible at http://foo.com/gallery, this + * eg if shimmie is visible at https://foo.com/gallery, this * function should return /gallery * * PHP really, really sucks. @@ -478,7 +478,7 @@ function bool_escape($input): bool Sometimes, I don't like PHP -- this, is one of those times... "a boolean FALSE is not considered a valid boolean value by this function." Yay for Got'chas! - http://php.net/manual/en/filter.filters.validate.php + https://php.net/manual/en/filter.filters.validate.php */ if (is_bool($input)) { return $input; diff --git a/core/send_event.php b/core/send_event.php index 98a48462..469e514c 100644 --- a/core/send_event.php +++ b/core/send_event.php @@ -101,7 +101,7 @@ function send_event(Event $event): Event if ($tracer_enabled) { $_tracer->begin(get_class($event)); } - // SHIT: http://bugs.php.net/bug.php?id=35106 + // SHIT: https://bugs.php.net/bug.php?id=35106 $my_event_listeners = $_shm_event_listeners[get_class($event)]; ksort($my_event_listeners); diff --git a/core/tests/urls.test.php b/core/tests/urls.test.php index b6ff90f0..cec18284 100644 --- a/core/tests/urls.test.php +++ b/core/tests/urls.test.php @@ -35,8 +35,8 @@ class UrlsTest extends TestCase // absolute $this->assertEquals( - "http://foo.com", - make_http("http://foo.com") + "https://foo.com", + make_http("https://foo.com") ); } } diff --git a/core/util.php b/core/util.php index c2913047..b72048df 100644 --- a/core/util.php +++ b/core/util.php @@ -104,7 +104,7 @@ function get_memory_limit(): int Get PHP's configured memory limit. Note that this is set to -1 for NO memory limit. - http://ca2.php.net/manual/en/ini.core.php#ini.memory-limit + https://ca2.php.net/manual/en/ini.core.php#ini.memory-limit */ $memory = parse_shorthand_int(ini_get("memory_limit")); diff --git a/ext/bbcode/info.php b/ext/bbcode/info.php index c0291a84..d01ac5b5 100644 --- a/ext/bbcode/info.php +++ b/ext/bbcode/info.php @@ -15,7 +15,7 @@ class BBCodeInfo extends ExtensionInfo " Supported tags: