Welcome Guest, Not a member yet? Register   Sign In
using APPPATH
#1
Wink 
(This post was last modified: 07-04-2023, 08:17 AM by richb201.)

I am moving code over from a Ci3 app to Ci4. I understand the APPPATH needs to be set in index.php. The reason I need it is that I have the following lines in my main Controller.
require APPPATH."../assets/MyReport.php";
require APPPATH."../assets/MyNexusReport.php";
require APPPATH."../assets/MyDashboard.php";
require APPPATH."../assets/MyDashboard2.php";
require APPPATH."../assets/OfficeHours.php";
require APPPATH."../assets/MySetup.php";
require APPPATH."../assets/MyValidate.php";
require APPPATH."../assets/MyExportExcel.php";
require APPPATH."../assets/MyExport6765.php";
require APPPATH."../assets/MyFormUser.php";
require APPPATH."../assets/MyFormUserE.php";
require APPPATH."../assets/MyFormRegister.php";
require APPPATH."../assets/MyFormAdminLogin.php";
require APPPATH."../assets/MainReport.php";
require APPPATH."../assets/MyExecutive_summary.php"; 

Is APPPATH still used or is there some place other than index.php were I set the APPPATH? Is this change covered in the docs?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
using APPPATH - by richb201 - 07-04-2023, 08:15 AM
RE: using APPPATH - by luckmoshy - 07-04-2023, 08:51 AM
RE: using APPPATH - by richb201 - 07-04-2023, 11:45 AM
RE: using APPPATH - by kenjis - 07-04-2023, 05:37 PM
RE: using APPPATH - by kenjis - 07-04-2023, 05:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB