403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/laragon3/www/ayongundang/admin/module/tests/_support/Database/Seeds/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/laragon3/www/ayongundang/admin/module/tests/_support/Database/Seeds/ExampleSeeder.php
<?php namespace Tests\Support\Database\Seeds;

use CodeIgniter\Database\Seeder;

class ExampleSeeder extends Seeder
{
	public function run()
	{
		$factories = [
			[
				'name'    => 'Test Factory',
				'uid'     => 'test001',
				'class'   => 'Factories\Tests\NewFactory',
				'icon'    => 'fas fa-puzzle-piece',
				'summary' => 'Longer sample text for testing',
			],
			[
				'name'    => 'Widget Factory',
				'uid'     => 'widget',
				'class'   => 'Factories\Tests\WidgetPlant',
				'icon'    => 'fas fa-puzzle-piece',
				'summary' => 'Create widgets in your factory',
			],
			[
				'name'    => 'Evil Factory',
				'uid'     => 'evil-maker',
				'class'   => 'Factories\Evil\MyFactory',
				'icon'    => 'fas fa-book-dead',
				'summary' => 'Abandon all hope, ye who enter here',
			],
		];

		$builder = $this->db->table('factories');

		foreach ($factories as $factory)
		{
			$builder->insert($factory);
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit