initial commit

This commit is contained in:
2025-03-12 21:49:22 +01:00
parent bbcf6764cd
commit 3e9115811a
18 changed files with 1617 additions and 0 deletions

23
inc/autoload.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
/*
Autoloader klas
@link https://krzysztof-turek.com
@package tylkofotografia.pl
@version 0.2
*/
function InContactAutoload($class)
{
$class = str_replace('\\', '/', $class);
$path = dirname(__FILE__) . '/classes/' . $class . '.php';
if (is_readable($path)) {
require_once $path;
return;
}
}
spl_autoload_register('InContactAutoload');