<?php defined('BASEPATH') or exit('No direct script access allowed');

function annual_external_engagement_upload_path($id)
{
    return FCPATH . 'uploads/annual_external_engagement/' . (int)$id . '/';
}

function annual_external_engagement_ensure_dir($path)
{
    if (!is_dir($path)) {
        @mkdir($path, 0755, true);
    }
}

function annual_external_engagement_allowed_types()
{
    return 'pdf|doc|docx|xls|xlsx|png|jpg|jpeg';
}
