Skip to content

Instantly share code, notes, and snippets.

@luislobo14rap
Last active August 28, 2022 23:27
Show Gist options
  • Save luislobo14rap/a1aa672ac5cac8f4408c36e9f427297a to your computer and use it in GitHub Desktop.
Save luislobo14rap/a1aa672ac5cac8f4408c36e9f427297a to your computer and use it in GitHub Desktop.
filegator-como-ftp-tutorial.txt
filegator\configuration.php
'adapter' => function () {
return new \League\Flysystem\Adapter\Local(
__DIR__.'/repository'
vira
'adapter' => function () {
return new \League\Flysystem\Adapter\Local(
__DIR__.'/../../'
filegator\dist\index.php
if (! is_writable(__DIR__.'/../repository/')) {
echo 'Folder not writable: /repository/'."\n";
die;
}
vira
if (! is_writable(__DIR__.'/../../')) {
echo 'Folder not writable'."\n";
die;
}
FileGator: como alterar a pasta visualizada (FTP)
arquivo: filegator_v7.0.1/filegator/configuration.php
linha 80: __DIR__.'/repository'
arquivo: filegator_v7.0.1\filegator\dist\index.php
linha 22: if (! is_writable(__DIR__.'/../repository/')) {
linha 23: echo 'Folder not writable: /repository/'."\n";
alterar essas linhas inserindo /../../ subindo de pasta até onde desejar
login: admin
senha padrão: admin123
@codsec
Copy link

codsec commented Aug 28, 2022

Ola, poderia me ajudar, estou precisando instalar o filegator e usar o storage como FTP, porem n consigo, seria d grande ajuda se vc pudesse me ajudar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment