18 lines
388 B
PHP
18 lines
388 B
PHP
|
|
<?PHP
|
||
|
|
require_once('api/Simpla.php');
|
||
|
|
|
||
|
|
class ExportAdmin extends Simpla
|
||
|
|
{
|
||
|
|
private $export_files_dir = 'simpla/files/export/';
|
||
|
|
|
||
|
|
public function fetch()
|
||
|
|
{
|
||
|
|
$this->design->assign('export_files_dir', $this->export_files_dir);
|
||
|
|
if(!is_writable($this->export_files_dir))
|
||
|
|
$this->design->assign('message_error', 'no_permission');
|
||
|
|
return $this->design->fetch('export.tpl');
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|