]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - script.php
[FEATURE] Add »quarter« expiration time
[jirafeau_mojo42.git] / script.php
index b455003c9c5dd281b075b34e99a591095cb1b997..f66b71f41abf2836210642b7b6bd9efa9411ed7a 100644 (file)
@@ -119,6 +119,9 @@ if (isset ($_FILES['file']) && is_writable (VAR_FILES)
             case 'month':
                 $time += JIRAFEAU_MONTH;
                 break;
+            case 'quarter':
+                $time += JIRAFEAU_QUARTER;
+                break;
             case 'year':
                 $time += JIRAFEAU_YEAR;
                 break;
@@ -504,6 +507,9 @@ elseif (isset ($_GET['init_async']))
             case 'month':
                 $time += JIRAFEAU_MONTH;
                 break;
+            case 'quarter':
+                $time += JIRAFEAU_QUARTER;
+                break;
             case 'year':
                 $time += JIRAFEAU_YEAR;
                 break;

patrick-canterino.de