mirror of https://tt-rss.org/git/tt-rss.git
Move 'include/functions.php' require into Composer autoloader.
Autoloader regenerated with 'composer dump-autoload --optimize'.
This commit is contained in:
parent
b1e3d660e4
commit
16b89cc293
|
@ -11,7 +11,6 @@
|
||||||
define('NO_SESSION_AUTOSTART', true);
|
define('NO_SESSION_AUTOSTART', true);
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "functions.php";
|
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
|
|
||||||
ini_set('session.use_cookies', "0");
|
ini_set('session.use_cookies', "0");
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
||||||
$op = (string)clean($op);
|
$op = (string)clean($op);
|
||||||
$method = (string)clean($method);
|
$method = (string)clean($method);
|
||||||
|
|
|
@ -6,30 +6,33 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
"name": "j4mie/idiorm",
|
"name": "j4mie/idiorm",
|
||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "https://dev.tt-rss.org/fox/idiorm.git"
|
"url": "https://dev.tt-rss.org/fox/idiorm.git"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"": "classes/"
|
"": "classes/"
|
||||||
}
|
},
|
||||||
|
"files": [
|
||||||
|
"include/functions.php"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"spomky-labs/otphp": "^10.0",
|
"spomky-labs/otphp": "^10.0",
|
||||||
"chillerlan/php-qrcode": "^4.3.3",
|
"chillerlan/php-qrcode": "^4.3.3",
|
||||||
"mervick/material-design-icons": "^2.2",
|
"mervick/material-design-icons": "^2.2",
|
||||||
"j4mie/idiorm": "dev-master",
|
"j4mie/idiorm": "dev-master",
|
||||||
"open-telemetry/exporter-otlp": "^1.0",
|
"open-telemetry/exporter-otlp": "^1.0",
|
||||||
"php-http/guzzle7-adapter": "^1.0",
|
"php-http/guzzle7-adapter": "^1.0",
|
||||||
"soundasleep/html2text": "^2.1",
|
"soundasleep/html2text": "^2.1",
|
||||||
"guzzlehttp/guzzle": "^7.0"
|
"guzzlehttp/guzzle": "^7.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpstan/phpstan": "1.10.3",
|
"phpstan/phpstan": "1.10.3",
|
||||||
"phpunit/phpunit": "9.5.16",
|
"phpunit/phpunit": "9.5.16",
|
||||||
"phpunit/php-code-coverage": "^9.2"
|
"phpunit/php-code-coverage": "^9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
use UserHelper;
|
use UserHelper;
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "functions.php";
|
|
||||||
require_once "errorhandler.php";
|
require_once "errorhandler.php";
|
||||||
require_once "lib/gettext/gettext.inc.php";
|
require_once "lib/gettext/gettext.inc.php";
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
||||||
Config::sanity_check();
|
Config::sanity_check();
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
||||||
Config::sanity_check();
|
Config::sanity_check();
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "sessions.php";
|
require_once "sessions.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
||||||
Config::sanity_check();
|
Config::sanity_check();
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,3 @@
|
||||||
get_include_path());
|
get_include_path());
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
chdir(__DIR__);
|
chdir(__DIR__);
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
||||||
|
|
||||||
if (php_sapi_name() != "cli") {
|
if (php_sapi_name() != "cli") {
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
define('DISABLE_SESSIONS', true);
|
define('DISABLE_SESSIONS', true);
|
||||||
|
|
||||||
require_once "autoload.php";
|
require_once "autoload.php";
|
||||||
require_once "functions.php";
|
|
||||||
|
|
||||||
Config::sanity_check();
|
Config::sanity_check();
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -114,4 +114,5 @@ return array(
|
||||||
'157bbd0180425c7142fbaf1b1646bec3' => $vendorDir . '/open-telemetry/exporter-otlp/_register.php',
|
'157bbd0180425c7142fbaf1b1646bec3' => $vendorDir . '/open-telemetry/exporter-otlp/_register.php',
|
||||||
'9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php',
|
'9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php',
|
||||||
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
|
||||||
|
'1c27df0e838db1c8a6427db7c5db3db2' => $baseDir . '/include/functions.php',
|
||||||
);
|
);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue