Initial commit

This commit is contained in:
2020-11-02 15:46:52 +01:00
commit 17f974127c
13788 changed files with 1921656 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
function thelia_kc_autoload($class)
{
$kcfinder_dir = realpath(dirname(__FILE__)) . '/kcfinder/';
if ($class == "uploader")
require $kcfinder_dir . "core/uploader.php";
elseif ($class == "browser")
require $kcfinder_dir . "core/browser.php";
elseif (file_exists($kcfinder_dir . "core/types/$class.php"))
require $kcfinder_dir . "core/types/$class.php";
elseif (file_exists($kcfinder_dir . "lib/class_$class.php"))
require $kcfinder_dir . "lib/class_$class.php";
elseif (file_exists($kcfinder_dir . "lib/helper_$class.php"))
require $kcfinder_dir . "lib/helper_$class.php";
}
spl_autoload_register('thelia_kc_autoload');