Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Using simpler makelos file

  • Loading branch information...
bermi committed Oct 16, 2011
1 parent 7068bd4 commit 25e81337a1cd7f53f4295c601f2dbfbcf8d14977
Showing with 21 additions and 114 deletions.
  1. +21 −0 makelos
  2. +0 −114 makelos.php
21 makelos
@@ -0,0 +1,21 @@
#!/usr/bin/env php
<?php
define('MAKELOS_STANDALONE', true);
defined('DS') || define('DS', DIRECTORY_SEPARATOR);
define('AK_BASE_DIR', $_SERVER['PWD']);
defined('AK_FRAMEWORK_DIR') || define('AK_FRAMEWORK_DIR', AK_BASE_DIR.DS.'vendor'.DS.'akelos');
define('MAKELOS_BASE_DIR', dirname(__FILE__));
defined('AK_TEST_DIR') || define('AK_TEST_DIR', MAKELOS_BASE_DIR.DS.'test');
define('AK_TESTING_NAMESPACE', 'plugins');
$GLOBALS['argv'][] = '--component=plugins';
if(!file_exists(AK_BASE_DIR.DS.'app'.DS.'controllers'.DS.'admin')){
die("\nEditam need admin_plugin to be installed first.\nYou can add admin_plugin by running './script/plugin install admin'\n");
}
include AK_FRAMEWORK_DIR.DS.'akelos_utils'.DS.'makelos'.DS.'makelos.php';

This file was deleted.

Oops, something went wrong.

0 comments on commit 25e8133

Please sign in to comment.
You can’t perform that action at this time.