DPTW/PHP/includes.php

12 lines
251 B
PHP

<?php
session_start();
foreach([
"DPTW",
"DPTW.Secrets",
"DPTW.MySQL",
"DPTW.Dictionary"
] as $file)
if(file_exists($full_path = __DIR__ . "/" . $file . ".php"))
include $full_path;