Skip to content

Commit

Permalink
set the first letter "s" in the uniqid
Browse files Browse the repository at this point in the history
  • Loading branch information
butt committed Feb 7, 2012
1 parent 89fc131 commit 62dead2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Admin/Admin.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ public function __construct($code, $class, $baseControllerName)
*/ */
public function initialize() public function initialize()
{ {
$this->uniqid = uniqid(); $this->uniqid = "s".uniqid();


if (!$this->classnameLabel) { if (!$this->classnameLabel) {
$this->classnameLabel = substr($this->getClass(), strrpos($this->getClass(), '\\') + 1); $this->classnameLabel = substr($this->getClass(), strrpos($this->getClass(), '\\') + 1);
Expand Down

0 comments on commit 62dead2

Please sign in to comment.