Skip to content
  • This project
    • Loading...
  • Sign in

Jeremy Groot / stellervista-Intranet

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • stellervista-Intranet
  • wp-content
  • plugins
  • wpdiscuz
  • forms
  • autoload.php
  • Jeff Balicki's avatar
    xxxxx · d8472a2f ...
    d8472a2f
    Signed-off-by: Jeff <jeff@gotenzing.com>
    Jeff Balicki committed 2023-02-28 14:44:44 -0500
autoload.php 292 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

spl_autoload_register(function ($class) {
    if (substr($class, 0, 12) !== "wpdFormAttr\\") {
      return;
    }
    $class = str_replace("\\", "/", $class);

    $path = dirname(__FILE__)."/$class.php";
    if (is_readable($path)) {
        require_once $path;
    }
});