|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/parasoffline.edukrypt.in/application/modules/admin/config/ |
Upload File : |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Site (by CI Bootstrap 3)
| -------------------------------------------------------------------------
| This file lets you define default values to be passed into views when calling
| MY_Controller's render() function.
|
| Each of them can be overrided from child controllers.
|
*/
$config['site'] = array(
// Site name
'name' => 'EduKrypt ParasInstitute',
// Default page title
// (set empty then MY_Controller will automatically generate one based on controller / action)
'title' => '',
// Default meta data (name => content)
'meta' => array(
'author' => 'EduKrypt',
'description' => 'EduKrypt 1.0',
),
// Default scripts to embed at page head / end
'scripts' => array(
'head' => array(
'assets/dist/adminlte.min.js',
'assets/dist/admin.min.js',
),
'foot' => array(),
),
// Default stylesheets to embed at page head
'stylesheets' => array(
'screen' => array(
'assets/dist/adminlte.min.css',
'assets/dist/admin.min.css',
),
),
// Multilingual settings (set empty array to disable this)
'multilingual' => array(),
// AdminLTE settings
'adminlte' => array(
'webmaster' => array('skin' => 'skin-red'),
'admin' => array('skin' => 'skin-purple'),
'manager' => array('skin' => 'skin-black'),
'staff' => array('skin' => 'skin-blue'),
),
// Menu items which support icon fonts, e.g. Font Awesome
// (or directly update view file: /application/modules/admin/views/_partials/sidemenu.php)
'menu' => array(
'home' => array(
'name' => 'Home',
'url' => 'home',
'icon' => 'fa fa-home',
),
'panel' => array(
'name' => 'Admin Panel',
'url' => 'panel',
'icon' => 'fa fa-cog',
'children' => array(
'Admin Users' => 'panel/admin_user',
'Create Admin User' => 'panel/admin_user_create',
'Admin User Groups' => 'panel/admin_user_group',
),
),
'user' => array(
'name' => 'Clients',
'url' => 'user',
'icon' => 'fa fa-users',
'children' => array(
'List' => 'user/index',
'Tags' => 'user/tag',
'CSV Update' => 'user/csvupdate',
'Popup' => 'user/popup',
'Users' => 'user/all',
'ID Generator' => 'user/idgenerator',
'User Groups' => 'user/group',
),
),
'folder' => array(
'name' => 'Directory Management',
'url' => 'folder',
'icon' => 'fa fa-folder',
'children' => array(
'Courses' => 'folder/course',
'Subjects' => 'folder/subject',
'Chapters' => 'folder/chapter',
),
),
'quiz' => array(
'name' => 'MCQ Module',
'url' => 'quiz',
'icon' => 'fa fa-file-video-o',
'children' => array(
'Subjects' => 'quiz/mcq_subjects',
'MCQ' => 'quiz/mcq',
'Result' => 'quiz/result',
),
),
'dospace' => array(
'name' => 'DO Storage (NEW)',
'url' => 'lecture',
'icon' => 'fa fa-hdd-o',
'children' => array(
'Video Upload' => 'dospace/do_upload',
'Video List' => 'dospace/do_list',
// 'PDF Upload' => 'dospace/do_upload_pdf',
// 'PDF List' => 'dospace/do_list'
),
),
'vodserver' => array(
'name' => 'VOD Server (NEW)',
'url' => 'vodserver',
'icon' => 'fa fa-hdd-o',
'children' => array(
'VOD Upload' => 'vodserver/upload',
'VOD List' => 'vodserver/list'
),
),
'liveserver' => array(
'name' => 'Live Server',
'url' => 'liveserver',
'icon' => 'fa fa-camera',
'children' => array(
//'Add Stream' => 'liveserver/add',
'Stream List' => 'liveserver/index',
'Add Schedule' => 'liveserver/schedule_live',
'Schedule list' => 'liveserver/schedule_list'
),
),
'lecture' => array(
'name' => 'Content Management',
'url' => 'lecture',
'icon' => 'fa fa-file-video-o',
'children' => array(
'Content List' => 'lecture/index',
'Duration CSV' => 'lecture/durationcsv',
'MAP Video' => 'lecture/upload',
'MAP PDF' => 'lecture/pdf_upload_box',
// 'PDF Upload' => 'lecture/csv_upload',
'MAP Quiz' => 'lecture/quiz_upload',
),
),
'regfile' => array(
'name' => 'RegFile Management',
'url' => 'lecture',
'icon' => 'fa fa-key',
'children' => array(
'Course Permission' => 'regfile/course',
'Subject Permission' => 'regfile/subject',
'File Permission' => 'regfile/file',
'Check Permission' => 'regfile/check',
),
),
'mediarecord' => array(
'name' => 'Media Play History',
'url' => 'mediarecord',
'icon' => 'fa fa-play',
'children' => array(
'All Play History' => 'mediarecord',
),
),
'faqs' => array(
'name' => 'Faqs',
'url' => 'faqs',
'icon' => 'fa fa-eye',
),
'Reporting' => array(
'name' => 'Reporting',
'url' => 'reporting',
'icon' => 'fa fa-bar-chart',
),
'logout' => array(
'name' => 'Sign Out',
'url' => 'panel/logout',
'icon' => 'fa fa-sign-out',
),
),
// default page when redirect non-logged-in user
'login_url' => 'admin/login',
// restricted pages to specific groups of users, which will affect sidemenu item as well
// pages out of this array will have no restriction (except required admin user login)
'page_auth' => array(
'user/create' => array(''),
'user/group' => array(''),
'user/all' => array('webmaster'),
'user/popup' => array('admin'),
'user/idgenerator' => array('webmaster'),
'user/index' => array('admin'),
'user/csvupdate' => array('admin'),
'panel' => array('webmaster'),
'faqs' => array('webmaster'),
'panel/admin_user' => array('webmaster'),
'panel/admin_user_create' => array('webmaster'),
'folder' => array('admin'),
'lecture' => array('admin'),
'mediarecord' => array('admin'),
'panel/admin_user_group' => array(''),
),
// Useful links to display at bottom of sidemenu (e.g. to pages outside Admin Panel)
'useful_links' => array(
array(
'auth' => array('webmaster'),
'name' => 'UPLOAD SOFTWARES',
'url' => 'admin/softwares/upload',
'target' => '',
'color' => 'text-green',
),
),
// For debug purpose (available only when ENVIRONMENT = 'development')
'debug' => array(
'view_data' => false, // whether to display MY_Controller's mViewData at page end
'profiler' => false, // whether to display CodeIgniter's profiler at page end
),
);