mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 12:38:01 +00:00
fixed typo
This commit is contained in:
@@ -86,4 +86,4 @@ define('SHOW_ERRORS', false);
|
|||||||
//define('BACKBLAZE_BUCKET_NAME', '');
|
//define('BACKBLAZE_BUCKET_NAME', '');
|
||||||
//define('BACKBLAZE_AUTODOWNLOAD', true); //if true, will download images from backblaze if not found local
|
//define('BACKBLAZE_AUTODOWNLOAD', true); //if true, will download images from backblaze if not found local
|
||||||
//define('BACKBLAZE_AUTOUPLOAD', true); //if true, will upload images to backblaze when they are uploaded to pictshare
|
//define('BACKBLAZE_AUTOUPLOAD', true); //if true, will upload images to backblaze when they are uploaded to pictshare
|
||||||
//define('BACKBLAZE_AUTOUPDELETE', true); //if true, will delete images from backblaze if they are deleted from pictshare
|
//define('BACKBLAZE_AUTODELETE', true); //if true, will delete images from backblaze if they are deleted from pictshare
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ class PictshareModel extends Model
|
|||||||
rmdir($base_path);
|
rmdir($base_path);
|
||||||
|
|
||||||
//delete from backblaze if configured
|
//delete from backblaze if configured
|
||||||
if(BACKBLAZE===true && BACKBLAZE_AUTOUPDELETE===true)
|
if(BACKBLAZE===true && BACKBLAZE_AUTODELETE===true)
|
||||||
{
|
{
|
||||||
$b = new Backblaze();
|
$b = new Backblaze();
|
||||||
$b->deleteFile($hash);
|
$b->deleteFile($hash);
|
||||||
|
|||||||
Reference in New Issue
Block a user