mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
revert stdmsg()
This commit is contained in:
@@ -97,7 +97,7 @@ class Test extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$r = number_format(12356);
|
$r = NexusDB::cache_get("user_all_permissions:10001");
|
||||||
dd($r);
|
dd($r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.4');
|
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.4');
|
||||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-05-24');
|
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-05-27');
|
||||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||||
|
|||||||
@@ -69,10 +69,7 @@ function stdmsg($heading, $text, $htmlstrip = false)
|
|||||||
if ($htmlstrip) {
|
if ($htmlstrip) {
|
||||||
$heading = htmlspecialchars(trim($heading));
|
$heading = htmlspecialchars(trim($heading));
|
||||||
$text = htmlspecialchars(trim($text));
|
$text = htmlspecialchars(trim($text));
|
||||||
} else {
|
}
|
||||||
$heading = strip_tags($heading, '<a>');
|
|
||||||
$text = strip_tags($text, '<a>');
|
|
||||||
}
|
|
||||||
print("<table align=\"center\" class=\"main\" width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"embedded\">\n");
|
print("<table align=\"center\" class=\"main\" width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"embedded\">\n");
|
||||||
if ($heading)
|
if ($heading)
|
||||||
print("<h2>".$heading."</h2>\n");
|
print("<h2>".$heading."</h2>\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user