1. Go to this page and download the library: Download unlikelysource/filecms-core library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
file_picker_types: 'image',
file_picker_callback: function (callback, value, meta) {
window.filecmsPickerCallback = callback; // must match FileCMS\Common\File\Browse::PICKER_CALLBACK
window.open('<?= $super_url
use FileCMS\Common\File\Browse;
use FileCMS\Common\Security\Profile;
use FileCMS\Common\Generic\Messages;
if (!empty($OBJ)) {
$uri = $OBJ->uri;
$config = $OBJ->config;
}
if (Profile::verify(FALSE, $config) === FALSE) {
Profile::logout();
Messages::getInstance()->addMessage('Unable to authenticate');
header('Location: /');
exit;
}
echo (new Browse($config))->render();
composer dump-autoload
public static function array2csv(array $data) : string
public static function array_combine_whatever(array $headers, array $data, string $prefix = '') : array
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.