first commit -> move some files from one-api

This commit is contained in:
2026-05-06 13:37:10 +07:00
parent a3144382c5
commit 55c6ed9779
7940 changed files with 628870 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* Mock library to subclass Driver for testing
*/
class Mock_Libraries_Driver extends CI_Driver_Library {
/**
* Set valid drivers list
*/
public function driver_list($drivers = NULL)
{
if (empty($drivers))
{
return $this->valid_drivers;
}
$this->valid_drivers = (array) $drivers;
}
/**
* Get library name
*/
public function get_name()
{
return $this->lib_name;
}
}