Prechádzať zdrojové kódy

set the first letter "s" in the uniqid

butt 13 rokov pred
rodič
commit
62dead2e3b
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Admin/Admin.php

+ 1 - 1
Admin/Admin.php

@@ -482,7 +482,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
      */
     public function initialize()
     {
-        $this->uniqid = uniqid();
+        $this->uniqid = "s".uniqid();
 
         if (!$this->classnameLabel) {
             $this->classnameLabel = substr($this->getClass(), strrpos($this->getClass(), '\\') + 1);