Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pmtpro committed Dec 7, 2024
1 parent a9f98c4 commit 46918e3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 362 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: |
wget https://getcomposer.org/download/latest-stable/composer.phar
php composer.phar install
rm -f file-manager.zip
zip -r -9 file-manager.zip . -x ".git/*" ".github/*"
Expand Down
9 changes: 1 addition & 8 deletions .init.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,9 @@
// load thu vien
$autoload = __DIR__ . '/vendor/autoload.php';
if (file_exists($autoload)) {
include_once $autoload;
require_once $autoload;
}

$helper = rootPath . '/lib/helper.php';
if (!file_exists($helper)) {
file_put_contents($helper, file_get_contents('https://raw.githubusercontent.com/ngatngay/helper-php/refs/heads/main/helper.php'));
}
require $helper;
unset($helper);

require __DIR__ . '/lib/function.php';
require __DIR__ . '/lib/zip.class.php';

Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"require": {
"php": ">=7.4.0",
"friendsofphp/php-cs-fixer": "^3.49",
"sabre/dav": "^4.6",
"ext-json": "*",
"ext-mysqli": "*",
"ext-json": "*"
"friendsofphp/php-cs-fixer": "^3.49",
"ngatngay/helper": "dev-main",
"sabre/dav": "^4.6"
},
"config": {
"sort-packages": true,
Expand Down
349 changes: 0 additions & 349 deletions lib/helper.php

This file was deleted.

Loading

0 comments on commit 46918e3

Please sign in to comment.