Last active
August 28, 2022 23:27
-
-
Save luislobo14rap/a1aa672ac5cac8f4408c36e9f427297a to your computer and use it in GitHub Desktop.
filegator-como-ftp-tutorial.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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