This commit is contained in:
2015-08-16 23:47:00 +02:00
parent d231658b60
commit 475b7372ea
7 changed files with 41 additions and 18 deletions

View File

@@ -1,8 +1,6 @@
<?php
//Debug
$bDebug = false;
require_once 'inc/settings.php';
require_once 'inc/functions.php';
$sAction = isset($_REQUEST['a'])?$_REQUEST['a']:'';
@@ -12,7 +10,7 @@ $sType = isset($_REQUEST['type'])?$_REQUEST['type']:'html';
switch($sAction)
{
case 'get_page':
$sResult = getPage($asData['path'], $asData['vars'], $bDebug);
$sResult = getPage($asData['path'], $asData['vars']);
break;
case 'get_poster':
$sResult = getTrimImage($asData['id'], $asData['url'], $sType);