mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Añadida la libreria datatables editor a third party
This commit is contained in:
36
ci4/app/ThirdParty/DatatablesEditor/DataTables.php
vendored
Normal file
36
ci4/app/ThirdParty/DatatablesEditor/DataTables.php
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* DataTables PHP libraries.
|
||||
*
|
||||
* PHP libraries for DataTables and DataTables Editor, utilising PHP 5.3+.
|
||||
*
|
||||
* @author SpryMedia
|
||||
* @copyright 2012 SpryMedia ( http://sprymedia.co.uk )
|
||||
* @license http://editor.datatables.net/license DataTables Editor
|
||||
* @link http://editor.datatables.net
|
||||
*/
|
||||
|
||||
define("DATATABLES", true);
|
||||
|
||||
//
|
||||
// Error checking - check that we are PHP 5.3 or newer
|
||||
//
|
||||
if (version_compare(PHP_VERSION, "5.3.0", '<')) {
|
||||
echo json_encode(array(
|
||||
"sError" => "Editor PHP libraries required PHP 5.3 or newer. You are " .
|
||||
"currently using " . PHP_VERSION . ". PHP 5.3 and newer have a lot of " .
|
||||
"great new features that the Editor libraries take advantage of to " .
|
||||
"present an easy to use and flexible API."
|
||||
));
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Load the DataTables bootstrap core file and let it register the required
|
||||
// handlers.
|
||||
//
|
||||
include(APPPATH . 'ThirdParty/DatatablesEditor/Bootstrap.php');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user