settings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user