X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=390a6ef9c2ba852b8f7d213af2e496272f64b977;hb=5bc4d24e709db5ae14915f8a13ffc06adc85dd4f;hp=d54ee72a3d83c42336dc5a745fe4c4e24cf1314a;hpb=f0eea6f87590f10081f5bc61395bb7eca9e76ec5;p=friendica.git diff --git a/boot.php b/boot.php index d54ee72a3d..390a6ef9c2 100644 --- a/boot.php +++ b/boot.php @@ -234,15 +234,6 @@ if (!defined('CURLE_OPERATION_TIMEDOUT')) { define('CURLE_OPERATION_TIMEDOUT', CURLE_OPERATION_TIMEOUTED); } -/** - * @brief Used to end the current process, after saving session state. - * @deprecated - */ -function killme() -{ - exit(); -} - /** * @brief Returns the user id of locally logged in user or false. * @@ -455,17 +446,6 @@ function curPageURL() return $pageURL; } -function get_server() -{ - $server = Config::get("system", "directory"); - - if ($server == "") { - $server = "https://dir.friendica.social"; - } - - return $server; -} - function get_temppath() { $temppath = Config::get("system", "temppath"); @@ -669,22 +649,3 @@ function validate_include(&$file) // Simply return flag return $valid; } - -/** - * PHP 5 compatible dirname() with count parameter - * - * @see http://php.net/manual/en/function.dirname.php#113193 - * - * @deprecated with PHP 7 - * @param string $path - * @param int $levels - * @return string - */ -function rdirname($path, $levels = 1) -{ - if ($levels > 1) { - return dirname(rdirname($path, --$levels)); - } else { - return dirname($path); - } -}