{
function getAuth()
{
+
if (HTML_FlexyFramework::get()->cli) {
return true;
}
+
$this->authUser = $this->getAuthUser();
if (!$this->authUser) {
return false;
}
- return true;
+
+ return true;
}
function get($v, $opts=array())
function post($v)
{
+
if(isset($_REQUEST['_convertToPlain']))
{
+ var_dump('die');exit;
+
require_once 'System.php';
$tmpdir = System::mktemp("-d convertPlain");
$path = $tmpdir . '/' . time() . '.html';
require_once 'File/Convert.php';
$fc = new File_Convert($path, 'text/html');
- print_r($fc);exit;
-
$plain = $fc->convert('text/plain');
$this->jok(file_get_contents($plain));
}