diff --git a/index.php b/index.php index 0002cbb..9db73d8 100644 --- a/index.php +++ b/index.php @@ -73,7 +73,7 @@ } } else { - include ( 'templates/login.php' ); + include ( 'lib/php/login.php' ); } break; case "logout": @@ -113,7 +113,7 @@ db_execute ( $statement ); $result = $statement->get_result ( ); $row = $result->fetch_assoc ( ); - include ( 'templates/insert.php' ); + include ( 'lib/php/insert.php' ); } break; default: diff --git a/lib/LICENSE b/lib/LICENSE new file mode 100644 index 0000000..2cd9da9 --- /dev/null +++ b/lib/LICENSE @@ -0,0 +1,16 @@ +Copyright © 2019 - Bryan Pedini + +Every file within this folder and it's subfolders is provided +with the website for the correct work of the website itself, +is provided AS IS, comes with NO WARRANTY of scope or +working purposes, and is proprietary software. + +Such this code may not be copied without explicit permission from +myself only, this code may not be modified within the website, +you may not copy, edit, share, clone or do anything else but +use the code as is without explicit permission to do so. + +Such permissions can be requested at copyright@bryanpedini.it +No permissions to do anything against this license is given +without an explicit and valid motivation to do so, so please +don't email me asking to do so or so without providing why. \ No newline at end of file diff --git a/templates/insert.php b/lib/php/insert.php similarity index 100% rename from templates/insert.php rename to lib/php/insert.php diff --git a/templates/login.php b/lib/php/login.php similarity index 100% rename from templates/login.php rename to lib/php/login.php