Skip to content

Commit

Permalink
removed the symlinks and removed vimeo from default config
Browse files Browse the repository at this point in the history
  • Loading branch information
smntb committed Sep 8, 2017
1 parent b691200 commit 6631600
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion config/config.example.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tmpDir = /var/www/html/viewerfiles
players = other,brightcove,kaltura,youtube,soundcloud,vimeo
players = other,brightcove,kaltura,youtube,soundcloud
timezone = America/New_York

[Louie B. Nunn Center for Oral History, University of Kentucky Libraries]
Expand Down
1 change: 0 additions & 1 deletion index.php

This file was deleted.

21 changes: 0 additions & 21 deletions render.php

This file was deleted.

1 change: 0 additions & 1 deletion viewer.php

This file was deleted.

21 changes: 21 additions & 0 deletions viewer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
use Ohms\ViewerController;

require_once 'app/init.php';

session_start();

if (!isset($_GET['translate'])) {
$_GET['translate'] = '0';
}

if (isset($_REQUEST['cachefile'])) {
$kw = (isset($_REQUEST['kw'])) ? $_REQUEST['kw'] : null;
$action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : null;
$vController = new ViewerController($_REQUEST['cachefile']);
$vController->route($action, $kw, $_REQUEST['cachefile']);
} else {
header('HTTP/1.0 404 Not Found');
//echo 'Error no action to take.';
exit();
}

0 comments on commit 6631600

Please sign in to comment.