PHP Classes

File: engine/modules/core/blog/blog.hook.inc

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/blog/blog.hook.inc   Download  
File: engine/modules/core/blog/blog.hook.inc
Role: Example script
Content type: text/plain
Description: Example script
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 290 bytes
 

Contents

Class file image Download
<?php
/**
 * Implements hook_load_includes().
 *
 * @param Environment $env
 * The Environment.
 * @param $vars
 * An array of variables.
 */
function blog_load_includes($env, $vars) {
 
$module_path = $env->getModulePath('blog');

 
$env->addInclude($module_path . '/css/blog.css');
}