This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo 'dsfsdf'; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": false, | |
"exception": { | |
"code": 0, | |
"message": "", | |
"file": "/home/trigo/domains/api.trigo.work/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php", | |
"line": 218 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uncaught Error: Cannot find module './reset_password'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.*$?5ae1:23Uncaught Error: Cannot find module './reset_password'. | |
at eval (eval at <anonymous> (app.js:2479), <anonymous>:23:41) | |
at webpackContextResolve (eval at <anonymous> (app.js:2479), <anonymous>:23:89) | |
at webpackContext (eval at <anonymous> (app.js:2479), <anonymous>:20:29) | |
at eval (eval at <anonymous> (app.js:2473), <anonymous>:31:49) | |
at arrayEach (eval at <anonymous> (app.js:2425), <anonymous>:537:11) | |
at Function.forEach (eval at <anonymous> (app.js:2425), <anonymous>:9359:14) | |
at loadDictionaries (eval at <anonymous> (app.js:2473), <anonymous>:29:19) | |
at Translate.dictionary (eval at <anonymous> (app.js:2473), <anonymous>:70:30) | |
at Object.eval (eval at <anonymous> (app.js:1057), <anonymous>:34:11) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function get_option( $name, $default = false ) { | |
$option = get_option( 'cjlp' ); | |
if ( false === $option ) { | |
return $default; | |
} | |
if ( isset( $option[ $name ] ) ) { | |
return $option[ $name ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form = new CJLP_Form(); | |
$form->process_form(); // A MUST | |
?> | |
<h2>Plugin Name </h2> | |
<?php echo $form->start_form(); ?> | |
<label for="input_field">Input Field</label> | |
<?php echo $form->input( 'input', ['name' => 'input_field', 'id' => 'input_field'] ); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'admin_menu', 'cjlp_admin_init' ); | |
function cjlp_admin_init() { | |
$admin_page = new CJLP_Router( 'Main Page', 'admin_page.php' ); | |
new CJLP_Router( 'Sub page 1', 'sub_page.php', $admin_page->get_slug() ); | |
new CJLP_Router( 'Sub page 2', 'sub_page.php', $admin_page->get_slug() ); | |
new CJLP_Router( 'Sub page 3', 'sub_page.php', $admin_page->get_slug() ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core.es5.js:1020 ERROR Error: Uncaught (in promise): Error: Response with status: 400 Bad Request for URL: https://dev-beta.sportstraders.io:3000/user/register | |
Error: Response with status: 400 Bad Request for URL: https://dev-beta.sportstraders.io:3000/user/register | |
at webpackJsonp.82.UsersService.handleError (users.service.ts:72) | |
at ZoneDelegate.invoke (zone.js:391) | |
at Object.onInvoke (core.es5.js:3890) | |
at ZoneDelegate.invoke (zone.js:390) | |
at Zone.run (zone.js:141) | |
at zone.js:831 | |
at ZoneDelegate.invokeTask (zone.js:424) | |
at Object.onInvokeTask (core.es5.js:3881) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$image_width = 1980; | |
$image_height = 1080; | |
//Calculation: | |
$DPI = 180; // From admin | |
$MinimumPrintSize = 5; // Fromt admin | |
$MaxPrintSize = Floor($image_width/$DPI); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$image_width = 1980; | |
$image_height = 1080; | |
//Calculation: | |
$DPI = 180; // From admin | |
$MinimumPrintSize = 5; // Fromt admin | |
$MaxPrintSize = Floor($image_width / $DPI ); |