mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 02:30:51 +00:00
first commit
This commit is contained in:
22
lib/BackUrl.php
Executable file
22
lib/BackUrl.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Класс для запомининия прошло url
|
||||
*
|
||||
* @author Zmi
|
||||
*/
|
||||
class BackUrl
|
||||
{
|
||||
public $flashParam; // Я знаю что public плохо, но мне все равно
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->flashParam = new FlashParam();
|
||||
}
|
||||
|
||||
public function __destruct()
|
||||
{
|
||||
$this->flashParam->Set('back_url', GetCurUrl());
|
||||
}
|
||||
};
|
||||
?>
|
||||
Reference in New Issue
Block a user