installation de codeigniter et de la base de données

This commit is contained in:
2026-06-03 15:52:41 +02:00
parent 3646779518
commit 0b5528c06f
284 changed files with 71269 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
class Mock_Libraries_Xmlrpcs extends CI_Xmlrpcs {
public $mock_payload = '';
/**
* Act as a XML-RPC server, but save the response into $mock_public property instead of making output of it
*/
public function serve()
{
$r = $this->parseRequest();
$payload = '<?xml version="1.0" encoding="'.$this->xmlrpc_defencoding.'"?'.'>'."\n".$this->debug_msg.$r->prepare_response();
$this->mock_payload = "HTTP/1.1 200 OK\r\n";
$this->mock_payload .= "Content-Type: text/xml\r\n";
$this->mock_payload .= 'Content-Length: '.strlen($payload)."\r\n";
$this->mock_payload .= "\r\n";
$this->mock_payload .= $payload;
}
}