PHP Classes

File: install/Views/errors/cli/error_404.php

Recommend this page to a friend!
  Packages of Aby Dahana   Aksara   install/Views/errors/cli/error_404.php   Download  
File: install/Views/errors/cli/error_404.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Refactor code for improved readability and consistency across multiple views

- Rearranged comments and code blocks for better organization in database.php, error_404.php, error_exception.php, error_exception.php (HTML), index.php, requirement.php, security.php, system.php, and Home module views.
- Ensured consistent formatting and indentation throughout the files.
- Added missing PHP opening tags and improved variable initialization.
- Enhanced error handling and user feedback in error views.
- Updated HTML structure for better semantic clarity and accessibility.
Date: 3 days ago
Size: 495 bytes
 

Contents

Class file image Download
<?php

/**
 * This file is part of Aksara CMS, both framework and publishing
 * platform.
 *
 * @author Aby Dahana <abydahana@gmail.com>
 * @copyright (c) Aksara Laboratory <https://aksaracms.com>
 * @license MIT License
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

use CodeIgniter\CLI\CLI;

/**
 * @var mixed $code
 * @var mixed $message
 */
CLI::error('ERROR: ' . $code);
CLI::write($message);
CLI::newLine();