<?php
 class functions { public static function __callstatic($function, $arguments) { $file = 'func_' . substr($function, 0, (int)strpos($function, '_')) .'.inc.php'; if (!function_exists($function)) { include_once vmod::check(FS_DIR_APP . 'includes/functions/' . $file); } return call_user_func_array($function, $arguments); } } 