diff --git a/03_WordPress/wp-config.php b/03_WordPress/wp-config.php deleted file mode 100644 index d682a10..0000000 --- a/03_WordPress/wp-config.php +++ /dev/null @@ -1,108 +0,0 @@ -e[5<1fd#mdf)!)`THm+PzR,$Yi5AY ' ); -define( 'SECURE_AUTH_KEY', '#hCLER;3F0pne&pMDyKY@iMIe/]_cp+@YYF6q@;.gny' ); -define( 'NONCE_KEY', '#.i3%xygVZqfwr>?KXisjvtN==Y_mrcx-$!K8]37E$EABU@JK|~YbK(1r=#W`q)&' ); -define( 'AUTH_SALT', '}ca.|K0Q3j89izUWnaZkO%BOXi&Q~H>$qAxxwVXk~S2OEf{NeAGfp!X|' ); -define( 'NONCE_SALT', ' H26H9YnK~x.iO7`4(dh>`~fYTE^ITpV)(BBQO,vWi+PMU>346sE' ); - -/**#@-*/ - -/** - * WordPress database table prefix. - * - * You can have multiple installations in one database if you give each - * a unique prefix. Only numbers, letters, and underscores please! - * - * At the installation time, database tables are created with the specified prefix. - * Changing this value after WordPress is installed will make your site think - * it has not been installed. - * - * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#table-prefix - */ -$table_prefix = 'wp_'; - -/** - * For developers: WordPress debugging mode. - * - * Change this to true to enable the display of notices during development. - * It is strongly recommended that plugin and theme developers use WP_DEBUG - * in their development environments. - * - * For information on other constants that can be used for debugging, - * visit the documentation. - * - * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ - */ -// این‌ها را پیدا کن و به این شکل تغییر بده: -define('WP_DEBUG', true); -define('WP_DEBUG_LOG', true); -define('WP_DEBUG_DISPLAY', true); - -// اگر وجود ندارد، اضافه کن: -@ini_set('display_errors', 1); - -/* Add any custom values between this line and the "stop editing" line. */ - - - -/* That's all, stop editing! Happy publishing. */ - -/** Absolute path to the WordPress directory. */ -if ( ! defined( 'ABSPATH' ) ) { - define( 'ABSPATH', __DIR__ . '/' ); -} - -/** Sets up WordPress vars and included files. */ -require_once ABSPATH . 'wp-settings.php'; diff --git a/04_Laravel/app/Console/Commands/IfnexSmokeTest.php b/04_Laravel/app/Console/Commands/IfnexSmokeTest.php index 3a699c8..381a86c 100644 --- a/04_Laravel/app/Console/Commands/IfnexSmokeTest.php +++ b/04_Laravel/app/Console/Commands/IfnexSmokeTest.php @@ -292,11 +292,12 @@ class IfnexSmokeTest extends Command // ۲. Public countries endpoint (بدون auth) $this->checkUrl("{$baseUrl}/api/v1/countries", 200, 'GET /api/v1/countries'); - // ۳. Tracking endpoint با AWB نامعتبر — انتظار 404 یا 422 (نه 500) + // ۳. Tracking endpoint با AWB نامعتبر + // انتظار: 404/422 (AWB نامعتبر) یا 401 (اگر endpoint با API Key محافظت می‌شود) $this->checkUrl( "{$baseUrl}/api/v1/track/INVALID-AWB-TEST", - [404, 422], - 'GET /api/v1/track/{invalid} — 404/422 expected (نه 500)' + [401, 404, 422], + 'GET /api/v1/track/{invalid} — 401/404/422 expected (نه 500)' ); // ۴. Protected endpoint بدون توکن — انتظار 401 diff --git a/04_Laravel/storage/awb-fixed.pdf b/04_Laravel/storage/awb-fixed.pdf deleted file mode 100644 index ca6fdbd..0000000 Binary files a/04_Laravel/storage/awb-fixed.pdf and /dev/null differ