Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/src/commit/aa33959f0b01f63dc79f97ebe1fc9e04b77dbc11/system/stdclass/autoload.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

39 lines
706 B

<?php
/*
* Copyright © 2021 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework;
/**
* Generic class to use stdClass objects compatibility
*
*
* Works with all PHP versions that this framework is executable.
*
* @package Phacil\Framework
* */
class stdClass extends \stdClass {
/**
* @param string $name
* @return mixed
*/
public function __get($name)
{
return $this->$name;
}
/**
* @param string $name
* @param mixed $value
* @return void
*/
public function __set($name, $value)
{
$this->$name = $value;
}
}