Compare commits

..

2 commits

Author SHA1 Message Date
Zain
b04f98395a Fixed some errors 2022-04-05 15:35:18 +05:00
Fahad Abbas
2fe4ded8ec modified : sitemap duration issue fixed 2019-03-12 16:20:05 +05:00
6 changed files with 8 additions and 15 deletions

View file

@ -1,9 +1,6 @@
# ClipBucket - Open Source Video Streaming Platform # ClipBucket - Broadcasting like a boss!
!['ClipBucket Screenshot'](http://clip-bucket.com/styles/default/images/laptop-large2.png)
## Read the Developer Guides here </br>
https://docs.clipbucket.com/
Should have added years ago, but...well now atleast its here
<div align="center"> <div align="center">
<a href="http://demo.clipbucket.com/">View Demo</a> | <a href="http://clip-bucket.com/download">Download</a> <a href="http://demo.clipbucket.com/">View Demo</a> | <a href="http://clip-bucket.com/download">Download</a>
@ -19,7 +16,7 @@ You can start a fully dedicated video sharing website or photo sharing websites
</br> </br>
<a href="http://clip-bucket.com">ClipBucket Official Website </a> <a href="http://clip-bucket.com">ClipBucket Official Website </a>
</br> </br>
<a href="https://docs.clipbucket.com/">ClipBucket Documentation</a> <a href="http://docs.clip-bucket.com">ClipBucket Documentation</a>
# Server Requirements # Server Requirements

View file

@ -1,5 +0,0 @@
{
"name": "ClipBucket",
"description": "Open Source Video Sjaring Script",
"version": "4.1"
}

View file

@ -64,7 +64,7 @@ class Clipbucket_db
$start = microtime(); $start = microtime();
$result = $this->mysqli->query($query); $result = $this->mysqli->query($query);
$end = microtime(); $end = microtime();
$timetook = $end - $start; $timetook = (int) $end - (int) $start;
devWitch($query, 'select', $timetook); devWitch($query, 'select', $timetook);
} else { } else {
$result = $this->mysqli->query($query); $result = $this->mysqli->query($query);

View file

@ -24,6 +24,7 @@ class errorhandler extends ClipBucket {
private function add_error($message=NULL,$id=NULL) { private function add_error($message=NULL,$id=NULL) {
global $ignore_cb_errors; global $ignore_cb_errors;
//if id is set, error will be generated from error message list //if id is set, error will be generated from error message list
$this->error_list = [];
if(!$ignore_cb_errors) if(!$ignore_cb_errors)
$this->error_list[] = $message; $this->error_list[] = $message;
//$this->error_list['all_errors']['user_error']['critical_priority'][] = $message; //$this->error_list['all_errors']['user_error']['critical_priority'][] = $message;

View file

@ -593,7 +593,7 @@ class myquery {
* @param VID * @param VID
* @param THUMB NUM * @param THUMB NUM
*/ */
function set_default_thumb($vid,$thumb,$version) function set_default_thumb($vid,$thumb,$version = '')
{ {
global $cbvid; global $cbvid;
return $cbvid->set_default_thumb($vid,$thumb,$version); return $cbvid->set_default_thumb($vid,$thumb,$version);