Skip to content

Instantly share code, notes, and snippets.

{
"name": "PMG Repository",
"homepage": "http://packages.intra-server.pmg.se",
"require-all": true,
"repositories": [
{
"type": "package",
"package": {
"name": "mcn/article",
/**
* Expected to return \Zend\ServiceManager\Config object or array to
* seed such an object.
*
* @return array|\Zend\ServiceManager\Config
*/
public function getViewHelperConfig()
{
return array(
'initializers' => array(
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Mvc
*/
<?php
return array(
'default' => array(
'article' => array(
'label' => 'Nyheter',
'route' => 'article/archive',
'order' => 2,
'controller' => 'article',
<?php
/**
* @author Antoine Hedgecock <[email protected]>
*/
/**
* @namespace
*/
namespace Company\Form;
use Zend\Form\Form,
<?php
/**
* @author Antoine Hedgecock <[email protected]>
*/
/**
* @namespace
*/
namespace Article\Form;
use Zend\Form\Form,
<?php
/**
* @author Antoine Hedgecock <[email protected]>
*/
use MCNNavigation\Navigation\Page\AbstractPage as Page;
return array(
'mcn' => array(
'navigation' => array(
root@office:~# apache2 -d -k start
Usage: apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
<VirtualHost *:80>
ServerName github.office.pmg.se
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /home/gitlab/gitlab/public
<Directory /home/gitlab/gitlab/public>
AllowOverride all
# MultiViews must be turned off.
<VirtualHost *:80>
ServerName github.office.pmg.se
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /home/gitlab/gitlab/public
<Directory /home/gitlab/gitlab/public>
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews