mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 09:13:38 +01:00
20 lines
377 B
PHP
20 lines
377 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: sarahetter
|
|
*/
|
|
|
|
class Controller {
|
|
|
|
public function __construct() {
|
|
spl_autoload_register(function ($class) {
|
|
require_once 'classes/' . $class . '.php';
|
|
});
|
|
}
|
|
|
|
public function loopSubtemplates() {
|
|
$controller = new Subtemplate();
|
|
return $controller->loopSubtemplates();
|
|
}
|
|
}
|