El RIDO 8 лет назад
Родитель
Сommit
502e96c129
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      lib/Configuration.php
  2. 1 1
      lib/Persistence/DataStore.php

+ 1 - 1
lib/Configuration.php

@@ -12,9 +12,9 @@
 
 namespace PrivateBin;
 
-use PrivateBin\Persistence\DataStore;
 use Exception;
 use PDO;
+use PrivateBin\Persistence\DataStore;
 
 /**
  * Configuration

+ 1 - 1
lib/Persistence/DataStore.php

@@ -80,7 +80,7 @@ class DataStore extends AbstractPersistence
         // don't overwrite already converted file
         if (!is_readable($destFile)) {
             $handle = fopen($srcFile, 'r', false, stream_context_create());
-            file_put_contents($destFile, $prefix . DataStore::PROTECTION_LINE . PHP_EOL);
+            file_put_contents($destFile, $prefix . self::PROTECTION_LINE . PHP_EOL);
             file_put_contents($destFile, $handle, FILE_APPEND);
             fclose($handle);
         }