1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 08:34:09 +02:00

PHP8 Plugin code cleanup

This commit is contained in:
Cameron
2021-01-21 09:38:38 -08:00
parent 9e0d014e39
commit f055b49d91
83 changed files with 753 additions and 675 deletions

View File

@@ -8,7 +8,7 @@
*
*/
require_once("../../class2.php");
require_once(__DIR__.'/../../class2.php');
e107::lan('faqs', 'admin',true);
//TODO LANS

View File

@@ -10,7 +10,7 @@
*
* if (!defined('e107_INIT'))
* {
* require_once("../../class2.php");
* require_once(__DIR__.'/../../class2.php');
* }
*
*/

View File

@@ -12,7 +12,7 @@
if (!defined('e107_INIT'))
{
require_once("../../class2.php");
require_once(__DIR__.'/../../class2.php');
}
if(file_exists(e_PLUGIN."faqs/controllers/list.php")) // bc for old controller.