diff options
| author | lsces <lester@lsces.co.uk> | 2025-08-28 20:32:03 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2025-08-28 20:32:03 +0100 |
| commit | 5cdac57c1bedc85ab8f66d54dc211454dd936602 (patch) | |
| tree | a9f3609f65602e17580b4f0996b6b86a56f178a3 /storage | |
| parent | 15d81f343f568cad495f330f5152093d12d7df28 (diff) | |
| download | bitweaver-5cdac57c1bedc85ab8f66d54dc211454dd936602.tar.gz bitweaver-5cdac57c1bedc85ab8f66d54dc211454dd936602.tar.bz2 bitweaver-5cdac57c1bedc85ab8f66d54dc211454dd936602.zip | |
Change the storage link to a proper directory with information to fill gaps in the installer listing of this package
Diffstat (limited to 'storage')
| l--------- | storage | 1 | ||||
| -rwxr-xr-x | storage/README | 9 | ||||
| -rwxr-xr-x | storage/admin/schema_inc.php | 9 | ||||
| -rwxr-xr-x | storage/bit_setup_inc.php | 10 | ||||
| -rwxr-xr-x | storage/icons/pkg_storage.gif | bin | 0 -> 1208 bytes | |||
| -rwxr-xr-x | storage/icons/pkg_storage.png | bin | 0 -> 1515 bytes | |||
| -rwxr-xr-x | storage/index.php | 6 |
7 files changed, 34 insertions, 1 deletions
diff --git a/storage b/storage deleted file mode 120000 index df8323d..0000000 --- a/storage +++ /dev/null @@ -1 +0,0 @@ -../storage
\ No newline at end of file diff --git a/storage/README b/storage/README new file mode 100755 index 0000000..23aeaab --- /dev/null +++ b/storage/README @@ -0,0 +1,9 @@ +This directory is used to alternatively store information to the file system + +The storage directory needs to be writable by the webserver (apache) user. + +A command the will probably work is: + +chmod 777 -R storage/ + +It's not the safest. Adjust to your level of security paranoia. diff --git a/storage/admin/schema_inc.php b/storage/admin/schema_inc.php new file mode 100755 index 0000000..2f18f5b --- /dev/null +++ b/storage/admin/schema_inc.php @@ -0,0 +1,9 @@ +<?php + +global $gBitInstaller; + +$gBitInstaller->registerPackageInfo( STORAGE_PKG_NAME, [ + 'description' => 'Directory to store information to the file system.', + 'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', +] ); + diff --git a/storage/bit_setup_inc.php b/storage/bit_setup_inc.php new file mode 100755 index 0000000..748721a --- /dev/null +++ b/storage/bit_setup_inc.php @@ -0,0 +1,10 @@ +<?php +global $gBitSystem; + +$pRegisterHash = array( + 'package_name' => 'storage', + 'package_path' => dirname( __FILE__ ).'/', + 'required_package'=> true, +); +$gBitSystem->registerPackage( $pRegisterHash ); +?> diff --git a/storage/icons/pkg_storage.gif b/storage/icons/pkg_storage.gif Binary files differnew file mode 100755 index 0000000..83a5d38 --- /dev/null +++ b/storage/icons/pkg_storage.gif diff --git a/storage/icons/pkg_storage.png b/storage/icons/pkg_storage.png Binary files differnew file mode 100755 index 0000000..0c685a2 --- /dev/null +++ b/storage/icons/pkg_storage.png diff --git a/storage/index.php b/storage/index.php new file mode 100755 index 0000000..3e305fe --- /dev/null +++ b/storage/index.php @@ -0,0 +1,6 @@ +<?php + + // This is not a package. + header ("location: ../index.php"); + +?>
\ No newline at end of file |
