rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit b2e069cb541a6fe56ec6fe7f8b6be34ad5546d51
parent d86159ee9fa71c02db9ffb374ed53632d65ec681
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Sun,  4 Oct 2015 15:31:46 +0200

Create bootstrap.php
Diffstat:
ATests/bootstrap.php | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/Tests/bootstrap.php b/Tests/bootstrap.php @@ -0,0 +1,10 @@ + +<?php +function loader($class) +{ + $file = $class . '.php'; + if (file_exists($file)) { + require $file; + } +} +spl_autoload_register('loader');