瀏覽代碼

Fix regression ext.php (#7499)

fix https://github.com/FreshRSS/FreshRSS/issues/7498
Regression from https://github.com/FreshRSS/FreshRSS/pull/7495
Alexandre Alapetite 1 年之前
父節點
當前提交
be73c6d669
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      p/ext.php

+ 1 - 0
p/ext.php

@@ -1,6 +1,7 @@
 <?php
 <?php
 declare(strict_types=1);
 declare(strict_types=1);
 require(__DIR__ . '/../constants.php');
 require(__DIR__ . '/../constants.php');
+require(LIB_PATH . '/lib_rss.php');	//Includes class autoloader
 
 
 function get_absolute_filename(string $file_name): string {
 function get_absolute_filename(string $file_name): string {
 	$core_extension = realpath(CORE_EXTENSIONS_PATH . '/' . $file_name);
 	$core_extension = realpath(CORE_EXTENSIONS_PATH . '/' . $file_name);