Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
UserBundle /
Admin /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
ClientAdmin.php
2.12
KB
-rwxrwxr-x
2026-05-18 12:51
SellerAdmin.php
4.29
KB
-rwxrwxr-x
2026-05-18 12:51
UserBankDetailAdmin.php
2.25
KB
-rwxrwxr-x
2026-05-18 12:51
UserEMailAddressAdmin.php
1.76
KB
-rwxrwxr-x
2026-05-18 12:51
UserFieldAdmin.php
3.16
KB
-rwxrwxr-x
2026-05-18 12:51
UserLevelAdmin.php
1.88
KB
-rwxrwxr-x
2026-05-18 12:51
UserListAdmin.php
7.2
KB
-rwxrwxr-x
2026-05-18 12:51
UserOldAdmin.php
3.72
KB
-rwxrwxr-x
2026-05-18 12:51
UserTypeTypesAdmin.php
1.84
KB
-rwxrwxr-x
2026-05-18 12:51
UserTypesAdmin.php
1.43
KB
-rwxrwxr-x
2026-05-18 12:51
php_errors.log
2.76
KB
-rwxrwxr-x
2026-04-02 12:06
Save
Rename
<?php namespace App\UserBundle\Admin; use Sonata\AdminBundle\Admin\AbstractAdmin; use Sonata\AdminBundle\Datagrid\ListMapper; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\Validator\ErrorElement; use Sonata\AdminBundle\Form\FormMapper; use Sonata\AdminBundle\Show\ShowMapper; /** * Client Admin * * @author Otto Saayman <otto@igotafrica.com> * @package UserBundle * @subpackage Admin * @version 0.0.1 */ class ClientAdmin extends AbstractAdmin { protected function generateBaseRouteName(bool $isChildAdmin = false): string { return 'client'; } protected function generateBaseRoutePattern(bool $isChildAdmin = false): string { return 'client'; } protected function configureFormFields(FormMapper $formMapper): void { $formMapper ->add('name') ->add('public_id') ->add('user_list') ; } protected function configureDatagridFilters(DatagridMapper $datagridMapper): void { $datagridMapper ->add('name') ->add('public_id') ; } protected function configureListFields(ListMapper $listMapper): void { $listMapper ->addIdentifier('name') ->add('public_id') ->add('user_list') ->add('_action', 'actions', array( 'actions' => array( 'show' => array(), 'edit' => array(), 'delete' => array(), ) )) ; } protected function configureShowFields(ShowMapper $show): void { $show ->add('name') ->add('public_id') ->add('secret') ; } public function prePersist($client): void { $this->preUpdatePersist($client); } public function preUpdate($client): void { $this->preUpdatePersist($client); } public function preUpdatePersist($client) { if (is_null($client->getSecret())) { $client->setSecret(rand(1, 100000)); } } }