fix logic and tests, update docker CI file

This commit is contained in:
root
2026-03-09 15:58:44 -04:00
parent 1cb3573d4b
commit 79e44fe037
188 changed files with 1776 additions and 524 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
namespace App\Controllers\View;
use App\Controllers\BaseController;
use CodeIgniter\HTTP\ResponseInterface;
helper('document');
class PolicyController extends BaseController
{
public function index()
{
//
}
public function schoolPicturePolicy()
{
// FIXED path: correct spelling of "policy"
$content = include(APPPATH . 'Views/policy/picture_policy_partial.php');
// Pass the content to the view
return view('/policy/picture_policy', $content);
}
public function schoolPolicy()
{
// FIXED path: correct spelling of "policy"
$content = include(APPPATH . 'Views/policy/school_policy_partial.php');
return view('policy/school_policy', $content);
}
}