Skip to content
Permalink
Browse files

Fix videos

  • Loading branch information...
RobiNN1 committed Jan 9, 2019
1 parent 543c776 commit 099c2bee2966062b310f5b77c7444409a8681fe5
@@ -19,8 +19,7 @@
die('Access Denied');
}
$videos = function_exists('infusion_exists') ? infusion_exists('videos') : db_exists(DB_PREFIX.'videos');
if ($videos) {
if (!defined('VIDEOS_EXIST')) {
$side_panel = FALSE;
require_once INFUSIONS.'videos/functions.php';
@@ -82,7 +82,7 @@ private function Listing() {
if (!empty($cat_opts) > 0 && $total_rows > 0) {
echo '<div class="dropdown pull-left m-r-10">';
echo '<a class="btn btn-default btn-sm dropdown-toggle" data-target="#" href="#" style="width: 200px;" data-toggle="dropdown" aria-expanded="false">';
echo '<a class="btn btn-default btn-sm dropdown-toggle" style="width: 200px;" data-toggle="dropdown" aria-expanded="false">';
if (isset($_GET['filter_cid']) && isset($cat_opts[$_GET['filter_cid']])) {
echo $cat_opts[$_GET['filter_cid']];
} else {
@@ -17,8 +17,7 @@
+--------------------------------------------------------*/
require_once __DIR__.'/../../maincore.php';
$videos = function_exists('infusion_exists') ? infusion_exists('videos') : db_exists(DB_PREFIX.'videos');
if (!$videos) {
if (!defined('VIDEOS_EXIST')) {
redirect(BASEDIR.'error.php?code=404');
}

0 comments on commit 099c2be

Please sign in to comment.
You can’t perform that action at this time.