<?php
/* Backend Includes - by dark2k1(dark2k1.com)
This will include all files in the '/includes' directory. Its good for writing flexible backends. */
if($handle = opendir(dirname(__FILE__) . '/' . 'includes')) {
while ($includes_file = readdir($handle)) {
if($includes_file != "." && $includes_file != ".." && $includes_file != "...") {
include(dirname(__FILE__) . '/includes/' . $includes_file);
}
}
}
?>